mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
refactor(swc_core): Make common_plugin_transform
agnostic to mode (#7422)
This commit is contained in:
parent
12b966ea21
commit
cfdd407896
@ -239,14 +239,15 @@ __common_plugin_transform = [
|
||||
"ecma_visit",
|
||||
"__common",
|
||||
"swc_atoms/rkyv-impl",
|
||||
"swc_common/plugin-mode",
|
||||
"swc_plugin_proxy/plugin-mode",
|
||||
"swc_plugin_macro",
|
||||
"once_cell",
|
||||
"swc_plugin",
|
||||
]
|
||||
|
||||
__css_plugin_transform = [
|
||||
"swc_common/plugin-mode",
|
||||
"swc_plugin_proxy/plugin-mode",
|
||||
|
||||
# Dependent features
|
||||
"__common_plugin_transform",
|
||||
"css_visit",
|
||||
@ -254,6 +255,9 @@ __css_plugin_transform = [
|
||||
"swc_css_ast/rkyv-impl",
|
||||
]
|
||||
__ecma_plugin_transform = [
|
||||
"swc_common/plugin-mode",
|
||||
"swc_plugin_proxy/plugin-mode",
|
||||
|
||||
# Dependent features
|
||||
"__common_plugin_transform",
|
||||
"ecma_visit",
|
||||
|
Loading…
Reference in New Issue
Block a user