mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
fix(swc_core): Apply plugin features (#5457)
This commit is contained in:
parent
7437f53047
commit
3760ba07b1
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -3132,7 +3132,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "swc_core"
|
name = "swc_core"
|
||||||
version = "0.6.3"
|
version = "0.6.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"binding_macros",
|
"binding_macros",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
|
@ -6,7 +6,7 @@ edition = "2021"
|
|||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
name = "swc_core"
|
name = "swc_core"
|
||||||
repository = "https://github.com/swc-project/swc.git"
|
repository = "https://github.com/swc-project/swc.git"
|
||||||
version = "0.6.3"
|
version = "0.6.4"
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
features = [
|
features = [
|
||||||
"common_perf",
|
"common_perf",
|
||||||
@ -154,24 +154,27 @@ __plugin_transform_schema_vtest = ["swc_common/plugin_transform_schema_vtest"]
|
|||||||
|
|
||||||
## Plugins
|
## Plugins
|
||||||
|
|
||||||
# Internal flags for any transform plugin feature
|
|
||||||
__plugin_transform = [
|
__plugin_transform = [
|
||||||
# Dependent features
|
# Dependent features
|
||||||
"visit",
|
"visit",
|
||||||
"__common",
|
"__common",
|
||||||
"ast", # Enable optional packages
|
"ast", # Enable optional packages
|
||||||
"swc_ecma_ast/rkyv-impl",
|
"swc_ecma_ast/rkyv-impl",
|
||||||
|
"swc_atoms/rkyv-impl",
|
||||||
"swc_common/plugin-mode",
|
"swc_common/plugin-mode",
|
||||||
"swc_plugin_proxy/plugin-mode",
|
"swc_plugin_proxy/plugin-mode",
|
||||||
"swc_plugin_macro",
|
"swc_plugin_macro",
|
||||||
"swc_plugin",
|
"swc_plugin",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
]
|
] # Internal flags for any transform plugin feature
|
||||||
|
|
||||||
# Internal flags for any transform plugin host feature
|
# Internal flags for any transform plugin host feature
|
||||||
__plugin_transform_host = [
|
__plugin_transform_host = [
|
||||||
# Dependent features
|
# Dependent features
|
||||||
"__common", # Enable optional packages
|
"__common", # Enable optional packages
|
||||||
|
"swc_ecma_ast/rkyv-impl",
|
||||||
|
"swc_atoms/rkyv-impl",
|
||||||
|
"swc_common/plugin-rt",
|
||||||
# TODO: we may simply flag around downlevel plugin feature
|
# TODO: we may simply flag around downlevel plugin feature
|
||||||
"swc_plugin_proxy/plugin-rt",
|
"swc_plugin_proxy/plugin-rt",
|
||||||
"swc/plugin",
|
"swc/plugin",
|
||||||
|
Loading…
Reference in New Issue
Block a user