diff --git a/.github/workflows/cargo.yml b/.github/workflows/cargo.yml index 4ea7663f5e0..ea532c4080d 100644 --- a/.github/workflows/cargo.yml +++ b/.github/workflows/cargo.yml @@ -287,7 +287,7 @@ jobs: os: ubuntu-latest - crate: swc_plugin_testing os: windows-latest - - crate: swc_stylis + - crate: swc_css_prefixer os: ubuntu-latest - crate: swc_timer os: ubuntu-latest diff --git a/Cargo.lock b/Cargo.lock index c36d92e9762..92a8c9b81a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3221,6 +3221,20 @@ dependencies = [ "testing", ] +[[package]] +name = "swc_css_prefixer" +version = "0.99.3" +dependencies = [ + "swc_atoms", + "swc_common", + "swc_css_ast", + "swc_css_codegen", + "swc_css_parser", + "swc_css_utils", + "swc_css_visit", + "testing", +] + [[package]] name = "swc_css_utils" version = "0.88.2" @@ -3935,20 +3949,6 @@ dependencies = [ name = "swc_plugin_testing" version = "0.24.1" -[[package]] -name = "swc_stylis" -version = "0.99.3" -dependencies = [ - "swc_atoms", - "swc_common", - "swc_css_ast", - "swc_css_codegen", - "swc_css_parser", - "swc_css_utils", - "swc_css_visit", - "testing", -] - [[package]] name = "swc_timer" version = "0.5.0" diff --git a/Cargo.toml b/Cargo.toml index a28f6192aae..83e69d9317c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ members = [ "crates/swc_cli", "crates/swc_css", "crates/swc_css_lints", + "crates/swc_css_prefixer", "crates/swc_ecmascript", "crates/swc_ecma_lints", "crates/swc_ecma_quote", @@ -13,7 +14,6 @@ members = [ "crates/swc_plugin_macro", "crates/swc_plugin_runner", "crates/swc_plugin_testing", - "crates/swc_stylis", "crates/swc_timer", "crates/swc_webpack_ast", "crates/wasm", @@ -24,6 +24,7 @@ default-members = [ "crates/swc_cli", "crates/swc_css", "crates/swc_css_lints", + "crates/swc_css_prefixer", "crates/swc_ecmascript", "crates/swc_ecma_lints", "crates/swc_ecma_quote", @@ -32,7 +33,6 @@ default-members = [ "crates/swc_plugin_macro", "crates/swc_plugin_runner", "crates/swc_plugin_testing", - "crates/swc_stylis", "crates/swc_timer", "crates/swc_webpack_ast", ] diff --git a/crates/swc_stylis/Cargo.toml b/crates/swc_css_prefixer/Cargo.toml similarity index 97% rename from crates/swc_stylis/Cargo.toml rename to crates/swc_css_prefixer/Cargo.toml index f20607a90f1..97b18a0db02 100644 --- a/crates/swc_stylis/Cargo.toml +++ b/crates/swc_css_prefixer/Cargo.toml @@ -5,7 +5,7 @@ documentation = "https://rustdoc.swc.rs/swc_stylis/" edition = "2021" include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" -name = "swc_stylis" +name = "swc_css_prefixer" repository = "https://github.com/swc-project/swc.git" version = "0.99.3" diff --git a/crates/swc_css_prefixer/src/lib.rs b/crates/swc_css_prefixer/src/lib.rs new file mode 100644 index 00000000000..7b2cbc56736 --- /dev/null +++ b/crates/swc_css_prefixer/src/lib.rs @@ -0,0 +1,3 @@ +pub use self::prefixer::prefixer; + +mod prefixer; diff --git a/crates/swc_stylis/src/prefixer.rs b/crates/swc_css_prefixer/src/prefixer.rs similarity index 100% rename from crates/swc_stylis/src/prefixer.rs rename to crates/swc_css_prefixer/src/prefixer.rs diff --git a/crates/swc_stylis/tests/fixture/advanced-filter/input.css b/crates/swc_css_prefixer/tests/fixture/advanced-filter/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/advanced-filter/input.css rename to crates/swc_css_prefixer/tests/fixture/advanced-filter/input.css diff --git a/crates/swc_stylis/tests/fixture/advanced-filter/output.css b/crates/swc_css_prefixer/tests/fixture/advanced-filter/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/advanced-filter/output.css rename to crates/swc_css_prefixer/tests/fixture/advanced-filter/output.css diff --git a/crates/swc_stylis/tests/fixture/animation/input.css b/crates/swc_css_prefixer/tests/fixture/animation/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/animation/input.css rename to crates/swc_css_prefixer/tests/fixture/animation/input.css diff --git a/crates/swc_stylis/tests/fixture/animation/output.css b/crates/swc_css_prefixer/tests/fixture/animation/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/animation/output.css rename to crates/swc_css_prefixer/tests/fixture/animation/output.css diff --git a/crates/swc_stylis/tests/fixture/any-link/input.css b/crates/swc_css_prefixer/tests/fixture/any-link/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/any-link/input.css rename to crates/swc_css_prefixer/tests/fixture/any-link/input.css diff --git a/crates/swc_stylis/tests/fixture/any-link/output.css b/crates/swc_css_prefixer/tests/fixture/any-link/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/any-link/output.css rename to crates/swc_css_prefixer/tests/fixture/any-link/output.css diff --git a/crates/swc_stylis/tests/fixture/appearance/input.css b/crates/swc_css_prefixer/tests/fixture/appearance/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/appearance/input.css rename to crates/swc_css_prefixer/tests/fixture/appearance/input.css diff --git a/crates/swc_stylis/tests/fixture/appearance/output.css b/crates/swc_css_prefixer/tests/fixture/appearance/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/appearance/output.css rename to crates/swc_css_prefixer/tests/fixture/appearance/output.css diff --git a/crates/swc_stylis/tests/fixture/autofill/input.css b/crates/swc_css_prefixer/tests/fixture/autofill/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/autofill/input.css rename to crates/swc_css_prefixer/tests/fixture/autofill/input.css diff --git a/crates/swc_stylis/tests/fixture/autofill/output.css b/crates/swc_css_prefixer/tests/fixture/autofill/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/autofill/output.css rename to crates/swc_css_prefixer/tests/fixture/autofill/output.css diff --git a/crates/swc_stylis/tests/fixture/backdrop-filter/input.css b/crates/swc_css_prefixer/tests/fixture/backdrop-filter/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/backdrop-filter/input.css rename to crates/swc_css_prefixer/tests/fixture/backdrop-filter/input.css diff --git a/crates/swc_stylis/tests/fixture/backdrop-filter/output.css b/crates/swc_css_prefixer/tests/fixture/backdrop-filter/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/backdrop-filter/output.css rename to crates/swc_css_prefixer/tests/fixture/backdrop-filter/output.css diff --git a/crates/swc_stylis/tests/fixture/backdrop/input.css b/crates/swc_css_prefixer/tests/fixture/backdrop/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/backdrop/input.css rename to crates/swc_css_prefixer/tests/fixture/backdrop/input.css diff --git a/crates/swc_stylis/tests/fixture/backdrop/output.css b/crates/swc_css_prefixer/tests/fixture/backdrop/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/backdrop/output.css rename to crates/swc_css_prefixer/tests/fixture/backdrop/output.css diff --git a/crates/swc_stylis/tests/fixture/backface-visibility/input.css b/crates/swc_css_prefixer/tests/fixture/backface-visibility/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/backface-visibility/input.css rename to crates/swc_css_prefixer/tests/fixture/backface-visibility/input.css diff --git a/crates/swc_stylis/tests/fixture/backface-visibility/output.css b/crates/swc_css_prefixer/tests/fixture/backface-visibility/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/backface-visibility/output.css rename to crates/swc_css_prefixer/tests/fixture/backface-visibility/output.css diff --git a/crates/swc_stylis/tests/fixture/background-clip/input.css b/crates/swc_css_prefixer/tests/fixture/background-clip/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/background-clip/input.css rename to crates/swc_css_prefixer/tests/fixture/background-clip/input.css diff --git a/crates/swc_stylis/tests/fixture/background-clip/output.css b/crates/swc_css_prefixer/tests/fixture/background-clip/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/background-clip/output.css rename to crates/swc_css_prefixer/tests/fixture/background-clip/output.css diff --git a/crates/swc_stylis/tests/fixture/background-img-opts/input.css b/crates/swc_css_prefixer/tests/fixture/background-img-opts/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/background-img-opts/input.css rename to crates/swc_css_prefixer/tests/fixture/background-img-opts/input.css diff --git a/crates/swc_stylis/tests/fixture/background-img-opts/output.css b/crates/swc_css_prefixer/tests/fixture/background-img-opts/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/background-img-opts/output.css rename to crates/swc_css_prefixer/tests/fixture/background-img-opts/output.css diff --git a/crates/swc_stylis/tests/fixture/background-size/input.css b/crates/swc_css_prefixer/tests/fixture/background-size/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/background-size/input.css rename to crates/swc_css_prefixer/tests/fixture/background-size/input.css diff --git a/crates/swc_stylis/tests/fixture/background-size/output.css b/crates/swc_css_prefixer/tests/fixture/background-size/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/background-size/output.css rename to crates/swc_css_prefixer/tests/fixture/background-size/output.css diff --git a/crates/swc_stylis/tests/fixture/background/input.css b/crates/swc_css_prefixer/tests/fixture/background/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/background/input.css rename to crates/swc_css_prefixer/tests/fixture/background/input.css diff --git a/crates/swc_stylis/tests/fixture/background/output.css b/crates/swc_css_prefixer/tests/fixture/background/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/background/output.css rename to crates/swc_css_prefixer/tests/fixture/background/output.css diff --git a/crates/swc_stylis/tests/fixture/basic/input.css b/crates/swc_css_prefixer/tests/fixture/basic/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/basic/input.css rename to crates/swc_css_prefixer/tests/fixture/basic/input.css diff --git a/crates/swc_stylis/tests/fixture/basic/output.css b/crates/swc_css_prefixer/tests/fixture/basic/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/basic/output.css rename to crates/swc_css_prefixer/tests/fixture/basic/output.css diff --git a/crates/swc_stylis/tests/fixture/border-image/input.css b/crates/swc_css_prefixer/tests/fixture/border-image/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/border-image/input.css rename to crates/swc_css_prefixer/tests/fixture/border-image/input.css diff --git a/crates/swc_stylis/tests/fixture/border-image/output.css b/crates/swc_css_prefixer/tests/fixture/border-image/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/border-image/output.css rename to crates/swc_css_prefixer/tests/fixture/border-image/output.css diff --git a/crates/swc_stylis/tests/fixture/border-radius/input.css b/crates/swc_css_prefixer/tests/fixture/border-radius/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/border-radius/input.css rename to crates/swc_css_prefixer/tests/fixture/border-radius/input.css diff --git a/crates/swc_stylis/tests/fixture/border-radius/output.css b/crates/swc_css_prefixer/tests/fixture/border-radius/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/border-radius/output.css rename to crates/swc_css_prefixer/tests/fixture/border-radius/output.css diff --git a/crates/swc_stylis/tests/fixture/box-decoration-break/input.css b/crates/swc_css_prefixer/tests/fixture/box-decoration-break/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/box-decoration-break/input.css rename to crates/swc_css_prefixer/tests/fixture/box-decoration-break/input.css diff --git a/crates/swc_stylis/tests/fixture/box-decoration-break/output.css b/crates/swc_css_prefixer/tests/fixture/box-decoration-break/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/box-decoration-break/output.css rename to crates/swc_css_prefixer/tests/fixture/box-decoration-break/output.css diff --git a/crates/swc_stylis/tests/fixture/box-shadow/input.css b/crates/swc_css_prefixer/tests/fixture/box-shadow/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/box-shadow/input.css rename to crates/swc_css_prefixer/tests/fixture/box-shadow/input.css diff --git a/crates/swc_stylis/tests/fixture/box-shadow/output.css b/crates/swc_css_prefixer/tests/fixture/box-shadow/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/box-shadow/output.css rename to crates/swc_css_prefixer/tests/fixture/box-shadow/output.css diff --git a/crates/swc_stylis/tests/fixture/box-sizing/input.css b/crates/swc_css_prefixer/tests/fixture/box-sizing/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/box-sizing/input.css rename to crates/swc_css_prefixer/tests/fixture/box-sizing/input.css diff --git a/crates/swc_stylis/tests/fixture/box-sizing/output.css b/crates/swc_css_prefixer/tests/fixture/box-sizing/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/box-sizing/output.css rename to crates/swc_css_prefixer/tests/fixture/box-sizing/output.css diff --git a/crates/swc_stylis/tests/fixture/calc/input.css b/crates/swc_css_prefixer/tests/fixture/calc/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/calc/input.css rename to crates/swc_css_prefixer/tests/fixture/calc/input.css diff --git a/crates/swc_stylis/tests/fixture/calc/output.css b/crates/swc_css_prefixer/tests/fixture/calc/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/calc/output.css rename to crates/swc_css_prefixer/tests/fixture/calc/output.css diff --git a/crates/swc_stylis/tests/fixture/case-insensivity/input.css b/crates/swc_css_prefixer/tests/fixture/case-insensivity/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/case-insensivity/input.css rename to crates/swc_css_prefixer/tests/fixture/case-insensivity/input.css diff --git a/crates/swc_stylis/tests/fixture/case-insensivity/output.css b/crates/swc_css_prefixer/tests/fixture/case-insensivity/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/case-insensivity/output.css rename to crates/swc_css_prefixer/tests/fixture/case-insensivity/output.css diff --git a/crates/swc_stylis/tests/fixture/check-down/input.css b/crates/swc_css_prefixer/tests/fixture/check-down/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/check-down/input.css rename to crates/swc_css_prefixer/tests/fixture/check-down/input.css diff --git a/crates/swc_stylis/tests/fixture/check-down/output.css b/crates/swc_css_prefixer/tests/fixture/check-down/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/check-down/output.css rename to crates/swc_css_prefixer/tests/fixture/check-down/output.css diff --git a/crates/swc_stylis/tests/fixture/clip-path/input.css b/crates/swc_css_prefixer/tests/fixture/clip-path/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/clip-path/input.css rename to crates/swc_css_prefixer/tests/fixture/clip-path/input.css diff --git a/crates/swc_stylis/tests/fixture/clip-path/output.css b/crates/swc_css_prefixer/tests/fixture/clip-path/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/clip-path/output.css rename to crates/swc_css_prefixer/tests/fixture/clip-path/output.css diff --git a/crates/swc_stylis/tests/fixture/color-adjust/input.css b/crates/swc_css_prefixer/tests/fixture/color-adjust/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/color-adjust/input.css rename to crates/swc_css_prefixer/tests/fixture/color-adjust/input.css diff --git a/crates/swc_stylis/tests/fixture/color-adjust/output.css b/crates/swc_css_prefixer/tests/fixture/color-adjust/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/color-adjust/output.css rename to crates/swc_css_prefixer/tests/fixture/color-adjust/output.css diff --git a/crates/swc_stylis/tests/fixture/color/input.css b/crates/swc_css_prefixer/tests/fixture/color/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/color/input.css rename to crates/swc_css_prefixer/tests/fixture/color/input.css diff --git a/crates/swc_stylis/tests/fixture/color/output.css b/crates/swc_css_prefixer/tests/fixture/color/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/color/output.css rename to crates/swc_css_prefixer/tests/fixture/color/output.css diff --git a/crates/swc_stylis/tests/fixture/columns/input.css b/crates/swc_css_prefixer/tests/fixture/columns/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/columns/input.css rename to crates/swc_css_prefixer/tests/fixture/columns/input.css diff --git a/crates/swc_stylis/tests/fixture/columns/output.css b/crates/swc_css_prefixer/tests/fixture/columns/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/columns/output.css rename to crates/swc_css_prefixer/tests/fixture/columns/output.css diff --git a/crates/swc_stylis/tests/fixture/cross-fade/input.css b/crates/swc_css_prefixer/tests/fixture/cross-fade/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/cross-fade/input.css rename to crates/swc_css_prefixer/tests/fixture/cross-fade/input.css diff --git a/crates/swc_stylis/tests/fixture/cross-fade/output.css b/crates/swc_css_prefixer/tests/fixture/cross-fade/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/cross-fade/output.css rename to crates/swc_css_prefixer/tests/fixture/cross-fade/output.css diff --git a/crates/swc_stylis/tests/fixture/css-regions/input.css b/crates/swc_css_prefixer/tests/fixture/css-regions/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/css-regions/input.css rename to crates/swc_css_prefixer/tests/fixture/css-regions/input.css diff --git a/crates/swc_stylis/tests/fixture/css-regions/output.css b/crates/swc_css_prefixer/tests/fixture/css-regions/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/css-regions/output.css rename to crates/swc_css_prefixer/tests/fixture/css-regions/output.css diff --git a/crates/swc_stylis/tests/fixture/cursor/input.css b/crates/swc_css_prefixer/tests/fixture/cursor/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/cursor/input.css rename to crates/swc_css_prefixer/tests/fixture/cursor/input.css diff --git a/crates/swc_stylis/tests/fixture/cursor/output.css b/crates/swc_css_prefixer/tests/fixture/cursor/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/cursor/output.css rename to crates/swc_css_prefixer/tests/fixture/cursor/output.css diff --git a/crates/swc_stylis/tests/fixture/display/input.css b/crates/swc_css_prefixer/tests/fixture/display/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/display/input.css rename to crates/swc_css_prefixer/tests/fixture/display/input.css diff --git a/crates/swc_stylis/tests/fixture/display/output.css b/crates/swc_css_prefixer/tests/fixture/display/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/display/output.css rename to crates/swc_css_prefixer/tests/fixture/display/output.css diff --git a/crates/swc_stylis/tests/fixture/element/input.css b/crates/swc_css_prefixer/tests/fixture/element/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/element/input.css rename to crates/swc_css_prefixer/tests/fixture/element/input.css diff --git a/crates/swc_stylis/tests/fixture/element/output.css b/crates/swc_css_prefixer/tests/fixture/element/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/element/output.css rename to crates/swc_css_prefixer/tests/fixture/element/output.css diff --git a/crates/swc_stylis/tests/fixture/error-recovery/input.css b/crates/swc_css_prefixer/tests/fixture/error-recovery/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/error-recovery/input.css rename to crates/swc_css_prefixer/tests/fixture/error-recovery/input.css diff --git a/crates/swc_stylis/tests/fixture/error-recovery/output.css b/crates/swc_css_prefixer/tests/fixture/error-recovery/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/error-recovery/output.css rename to crates/swc_css_prefixer/tests/fixture/error-recovery/output.css diff --git a/crates/swc_stylis/tests/fixture/file-selector-button/input.css b/crates/swc_css_prefixer/tests/fixture/file-selector-button/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/file-selector-button/input.css rename to crates/swc_css_prefixer/tests/fixture/file-selector-button/input.css diff --git a/crates/swc_stylis/tests/fixture/file-selector-button/output.css b/crates/swc_css_prefixer/tests/fixture/file-selector-button/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/file-selector-button/output.css rename to crates/swc_css_prefixer/tests/fixture/file-selector-button/output.css diff --git a/crates/swc_stylis/tests/fixture/filter/input.css b/crates/swc_css_prefixer/tests/fixture/filter/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/filter/input.css rename to crates/swc_css_prefixer/tests/fixture/filter/input.css diff --git a/crates/swc_stylis/tests/fixture/filter/output.css b/crates/swc_css_prefixer/tests/fixture/filter/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/filter/output.css rename to crates/swc_css_prefixer/tests/fixture/filter/output.css diff --git a/crates/swc_stylis/tests/fixture/flex/input.css b/crates/swc_css_prefixer/tests/fixture/flex/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/flex/input.css rename to crates/swc_css_prefixer/tests/fixture/flex/input.css diff --git a/crates/swc_stylis/tests/fixture/flex/output.css b/crates/swc_css_prefixer/tests/fixture/flex/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/flex/output.css rename to crates/swc_css_prefixer/tests/fixture/flex/output.css diff --git a/crates/swc_stylis/tests/fixture/font-feature/input.css b/crates/swc_css_prefixer/tests/fixture/font-feature/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/font-feature/input.css rename to crates/swc_css_prefixer/tests/fixture/font-feature/input.css diff --git a/crates/swc_stylis/tests/fixture/font-feature/output.css b/crates/swc_css_prefixer/tests/fixture/font-feature/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/font-feature/output.css rename to crates/swc_css_prefixer/tests/fixture/font-feature/output.css diff --git a/crates/swc_stylis/tests/fixture/font-kerning/input.css b/crates/swc_css_prefixer/tests/fixture/font-kerning/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/font-kerning/input.css rename to crates/swc_css_prefixer/tests/fixture/font-kerning/input.css diff --git a/crates/swc_stylis/tests/fixture/font-kerning/output.css b/crates/swc_css_prefixer/tests/fixture/font-kerning/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/font-kerning/output.css rename to crates/swc_css_prefixer/tests/fixture/font-kerning/output.css diff --git a/crates/swc_stylis/tests/fixture/forced-color-adjust/input.css b/crates/swc_css_prefixer/tests/fixture/forced-color-adjust/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/forced-color-adjust/input.css rename to crates/swc_css_prefixer/tests/fixture/forced-color-adjust/input.css diff --git a/crates/swc_stylis/tests/fixture/forced-color-adjust/output.css b/crates/swc_css_prefixer/tests/fixture/forced-color-adjust/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/forced-color-adjust/output.css rename to crates/swc_css_prefixer/tests/fixture/forced-color-adjust/output.css diff --git a/crates/swc_stylis/tests/fixture/fullscreen/input.css b/crates/swc_css_prefixer/tests/fixture/fullscreen/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/fullscreen/input.css rename to crates/swc_css_prefixer/tests/fixture/fullscreen/input.css diff --git a/crates/swc_stylis/tests/fixture/fullscreen/output.css b/crates/swc_css_prefixer/tests/fixture/fullscreen/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/fullscreen/output.css rename to crates/swc_css_prefixer/tests/fixture/fullscreen/output.css diff --git a/crates/swc_stylis/tests/fixture/gradient/input.css b/crates/swc_css_prefixer/tests/fixture/gradient/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/gradient/input.css rename to crates/swc_css_prefixer/tests/fixture/gradient/input.css diff --git a/crates/swc_stylis/tests/fixture/gradient/output.css b/crates/swc_css_prefixer/tests/fixture/gradient/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/gradient/output.css rename to crates/swc_css_prefixer/tests/fixture/gradient/output.css diff --git a/crates/swc_stylis/tests/fixture/grouping-rule/input.css b/crates/swc_css_prefixer/tests/fixture/grouping-rule/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/grouping-rule/input.css rename to crates/swc_css_prefixer/tests/fixture/grouping-rule/input.css diff --git a/crates/swc_stylis/tests/fixture/grouping-rule/output.css b/crates/swc_css_prefixer/tests/fixture/grouping-rule/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/grouping-rule/output.css rename to crates/swc_css_prefixer/tests/fixture/grouping-rule/output.css diff --git a/crates/swc_stylis/tests/fixture/hyphens/input.css b/crates/swc_css_prefixer/tests/fixture/hyphens/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/hyphens/input.css rename to crates/swc_css_prefixer/tests/fixture/hyphens/input.css diff --git a/crates/swc_stylis/tests/fixture/hyphens/output.css b/crates/swc_css_prefixer/tests/fixture/hyphens/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/hyphens/output.css rename to crates/swc_css_prefixer/tests/fixture/hyphens/output.css diff --git a/crates/swc_stylis/tests/fixture/image-rendering/input.css b/crates/swc_css_prefixer/tests/fixture/image-rendering/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/image-rendering/input.css rename to crates/swc_css_prefixer/tests/fixture/image-rendering/input.css diff --git a/crates/swc_stylis/tests/fixture/image-rendering/output.css b/crates/swc_css_prefixer/tests/fixture/image-rendering/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/image-rendering/output.css rename to crates/swc_css_prefixer/tests/fixture/image-rendering/output.css diff --git a/crates/swc_stylis/tests/fixture/image-set/input.css b/crates/swc_css_prefixer/tests/fixture/image-set/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/image-set/input.css rename to crates/swc_css_prefixer/tests/fixture/image-set/input.css diff --git a/crates/swc_stylis/tests/fixture/image-set/output.css b/crates/swc_css_prefixer/tests/fixture/image-set/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/image-set/output.css rename to crates/swc_css_prefixer/tests/fixture/image-set/output.css diff --git a/crates/swc_stylis/tests/fixture/important/input.css b/crates/swc_css_prefixer/tests/fixture/important/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/important/input.css rename to crates/swc_css_prefixer/tests/fixture/important/input.css diff --git a/crates/swc_stylis/tests/fixture/important/output.css b/crates/swc_css_prefixer/tests/fixture/important/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/important/output.css rename to crates/swc_css_prefixer/tests/fixture/important/output.css diff --git a/crates/swc_stylis/tests/fixture/isolate-override/input.css b/crates/swc_css_prefixer/tests/fixture/isolate-override/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/isolate-override/input.css rename to crates/swc_css_prefixer/tests/fixture/isolate-override/input.css diff --git a/crates/swc_stylis/tests/fixture/isolate-override/output.css b/crates/swc_css_prefixer/tests/fixture/isolate-override/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/isolate-override/output.css rename to crates/swc_css_prefixer/tests/fixture/isolate-override/output.css diff --git a/crates/swc_stylis/tests/fixture/keyframes/input.css b/crates/swc_css_prefixer/tests/fixture/keyframes/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/keyframes/input.css rename to crates/swc_css_prefixer/tests/fixture/keyframes/input.css diff --git a/crates/swc_stylis/tests/fixture/keyframes/output.css b/crates/swc_css_prefixer/tests/fixture/keyframes/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/keyframes/output.css rename to crates/swc_css_prefixer/tests/fixture/keyframes/output.css diff --git a/crates/swc_stylis/tests/fixture/margid-border-padding-logical/input.css b/crates/swc_css_prefixer/tests/fixture/margid-border-padding-logical/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/margid-border-padding-logical/input.css rename to crates/swc_css_prefixer/tests/fixture/margid-border-padding-logical/input.css diff --git a/crates/swc_stylis/tests/fixture/margid-border-padding-logical/output.css b/crates/swc_css_prefixer/tests/fixture/margid-border-padding-logical/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/margid-border-padding-logical/output.css rename to crates/swc_css_prefixer/tests/fixture/margid-border-padding-logical/output.css diff --git a/crates/swc_stylis/tests/fixture/mask/input.css b/crates/swc_css_prefixer/tests/fixture/mask/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/mask/input.css rename to crates/swc_css_prefixer/tests/fixture/mask/input.css diff --git a/crates/swc_stylis/tests/fixture/mask/output.css b/crates/swc_css_prefixer/tests/fixture/mask/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/mask/output.css rename to crates/swc_css_prefixer/tests/fixture/mask/output.css diff --git a/crates/swc_stylis/tests/fixture/min-zoom/input.css b/crates/swc_css_prefixer/tests/fixture/min-zoom/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/min-zoom/input.css rename to crates/swc_css_prefixer/tests/fixture/min-zoom/input.css diff --git a/crates/swc_stylis/tests/fixture/min-zoom/output.css b/crates/swc_css_prefixer/tests/fixture/min-zoom/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/min-zoom/output.css rename to crates/swc_css_prefixer/tests/fixture/min-zoom/output.css diff --git a/crates/swc_stylis/tests/fixture/multicolumn/input.css b/crates/swc_css_prefixer/tests/fixture/multicolumn/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/multicolumn/input.css rename to crates/swc_css_prefixer/tests/fixture/multicolumn/input.css diff --git a/crates/swc_stylis/tests/fixture/multicolumn/output.css b/crates/swc_css_prefixer/tests/fixture/multicolumn/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/multicolumn/output.css rename to crates/swc_css_prefixer/tests/fixture/multicolumn/output.css diff --git a/crates/swc_stylis/tests/fixture/object-fit/input.css b/crates/swc_css_prefixer/tests/fixture/object-fit/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/object-fit/input.css rename to crates/swc_css_prefixer/tests/fixture/object-fit/input.css diff --git a/crates/swc_stylis/tests/fixture/object-fit/output.css b/crates/swc_css_prefixer/tests/fixture/object-fit/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/object-fit/output.css rename to crates/swc_css_prefixer/tests/fixture/object-fit/output.css diff --git a/crates/swc_stylis/tests/fixture/overflow/input.css b/crates/swc_css_prefixer/tests/fixture/overflow/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/overflow/input.css rename to crates/swc_css_prefixer/tests/fixture/overflow/input.css diff --git a/crates/swc_stylis/tests/fixture/overflow/output.css b/crates/swc_css_prefixer/tests/fixture/overflow/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/overflow/output.css rename to crates/swc_css_prefixer/tests/fixture/overflow/output.css diff --git a/crates/swc_stylis/tests/fixture/overscroll-behavior/input.css b/crates/swc_css_prefixer/tests/fixture/overscroll-behavior/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/overscroll-behavior/input.css rename to crates/swc_css_prefixer/tests/fixture/overscroll-behavior/input.css diff --git a/crates/swc_stylis/tests/fixture/overscroll-behavior/output.css b/crates/swc_css_prefixer/tests/fixture/overscroll-behavior/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/overscroll-behavior/output.css rename to crates/swc_css_prefixer/tests/fixture/overscroll-behavior/output.css diff --git a/crates/swc_stylis/tests/fixture/perspective/input.css b/crates/swc_css_prefixer/tests/fixture/perspective/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/perspective/input.css rename to crates/swc_css_prefixer/tests/fixture/perspective/input.css diff --git a/crates/swc_stylis/tests/fixture/perspective/output.css b/crates/swc_css_prefixer/tests/fixture/perspective/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/perspective/output.css rename to crates/swc_css_prefixer/tests/fixture/perspective/output.css diff --git a/crates/swc_stylis/tests/fixture/placeholder-shown/input.css b/crates/swc_css_prefixer/tests/fixture/placeholder-shown/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/placeholder-shown/input.css rename to crates/swc_css_prefixer/tests/fixture/placeholder-shown/input.css diff --git a/crates/swc_stylis/tests/fixture/placeholder-shown/output.css b/crates/swc_css_prefixer/tests/fixture/placeholder-shown/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/placeholder-shown/output.css rename to crates/swc_css_prefixer/tests/fixture/placeholder-shown/output.css diff --git a/crates/swc_stylis/tests/fixture/placeholder/input.css b/crates/swc_css_prefixer/tests/fixture/placeholder/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/placeholder/input.css rename to crates/swc_css_prefixer/tests/fixture/placeholder/input.css diff --git a/crates/swc_stylis/tests/fixture/placeholder/output.css b/crates/swc_css_prefixer/tests/fixture/placeholder/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/placeholder/output.css rename to crates/swc_css_prefixer/tests/fixture/placeholder/output.css diff --git a/crates/swc_stylis/tests/fixture/position/input.css b/crates/swc_css_prefixer/tests/fixture/position/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/position/input.css rename to crates/swc_css_prefixer/tests/fixture/position/input.css diff --git a/crates/swc_stylis/tests/fixture/position/output.css b/crates/swc_css_prefixer/tests/fixture/position/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/position/output.css rename to crates/swc_css_prefixer/tests/fixture/position/output.css diff --git a/crates/swc_stylis/tests/fixture/read-only/input.css b/crates/swc_css_prefixer/tests/fixture/read-only/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/read-only/input.css rename to crates/swc_css_prefixer/tests/fixture/read-only/input.css diff --git a/crates/swc_stylis/tests/fixture/read-only/output.css b/crates/swc_css_prefixer/tests/fixture/read-only/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/read-only/output.css rename to crates/swc_css_prefixer/tests/fixture/read-only/output.css diff --git a/crates/swc_stylis/tests/fixture/read-write/input.css b/crates/swc_css_prefixer/tests/fixture/read-write/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/read-write/input.css rename to crates/swc_css_prefixer/tests/fixture/read-write/input.css diff --git a/crates/swc_stylis/tests/fixture/read-write/output.css b/crates/swc_css_prefixer/tests/fixture/read-write/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/read-write/output.css rename to crates/swc_css_prefixer/tests/fixture/read-write/output.css diff --git a/crates/swc_stylis/tests/fixture/resolution/input.css b/crates/swc_css_prefixer/tests/fixture/resolution/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/resolution/input.css rename to crates/swc_css_prefixer/tests/fixture/resolution/input.css diff --git a/crates/swc_stylis/tests/fixture/resolution/output.css b/crates/swc_css_prefixer/tests/fixture/resolution/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/resolution/output.css rename to crates/swc_css_prefixer/tests/fixture/resolution/output.css diff --git a/crates/swc_stylis/tests/fixture/selection/input.css b/crates/swc_css_prefixer/tests/fixture/selection/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/selection/input.css rename to crates/swc_css_prefixer/tests/fixture/selection/input.css diff --git a/crates/swc_stylis/tests/fixture/selection/output.css b/crates/swc_css_prefixer/tests/fixture/selection/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/selection/output.css rename to crates/swc_css_prefixer/tests/fixture/selection/output.css diff --git a/crates/swc_stylis/tests/fixture/selector-list-2/input.css b/crates/swc_css_prefixer/tests/fixture/selector-list-2/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/selector-list-2/input.css rename to crates/swc_css_prefixer/tests/fixture/selector-list-2/input.css diff --git a/crates/swc_stylis/tests/fixture/selector-list-2/output.css b/crates/swc_css_prefixer/tests/fixture/selector-list-2/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/selector-list-2/output.css rename to crates/swc_css_prefixer/tests/fixture/selector-list-2/output.css diff --git a/crates/swc_stylis/tests/fixture/selector-list/input.css b/crates/swc_css_prefixer/tests/fixture/selector-list/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/selector-list/input.css rename to crates/swc_css_prefixer/tests/fixture/selector-list/input.css diff --git a/crates/swc_stylis/tests/fixture/selector-list/output.css b/crates/swc_css_prefixer/tests/fixture/selector-list/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/selector-list/output.css rename to crates/swc_css_prefixer/tests/fixture/selector-list/output.css diff --git a/crates/swc_stylis/tests/fixture/shapes/input.css b/crates/swc_css_prefixer/tests/fixture/shapes/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/shapes/input.css rename to crates/swc_css_prefixer/tests/fixture/shapes/input.css diff --git a/crates/swc_stylis/tests/fixture/shapes/output.css b/crates/swc_css_prefixer/tests/fixture/shapes/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/shapes/output.css rename to crates/swc_css_prefixer/tests/fixture/shapes/output.css diff --git a/crates/swc_stylis/tests/fixture/snappoints/input.css b/crates/swc_css_prefixer/tests/fixture/snappoints/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/snappoints/input.css rename to crates/swc_css_prefixer/tests/fixture/snappoints/input.css diff --git a/crates/swc_stylis/tests/fixture/snappoints/output.css b/crates/swc_css_prefixer/tests/fixture/snappoints/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/snappoints/output.css rename to crates/swc_css_prefixer/tests/fixture/snappoints/output.css diff --git a/crates/swc_stylis/tests/fixture/tab-size/input.css b/crates/swc_css_prefixer/tests/fixture/tab-size/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/tab-size/input.css rename to crates/swc_css_prefixer/tests/fixture/tab-size/input.css diff --git a/crates/swc_stylis/tests/fixture/tab-size/output.css b/crates/swc_css_prefixer/tests/fixture/tab-size/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/tab-size/output.css rename to crates/swc_css_prefixer/tests/fixture/tab-size/output.css diff --git a/crates/swc_stylis/tests/fixture/text-align-last/input.css b/crates/swc_css_prefixer/tests/fixture/text-align-last/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-align-last/input.css rename to crates/swc_css_prefixer/tests/fixture/text-align-last/input.css diff --git a/crates/swc_stylis/tests/fixture/text-align-last/output.css b/crates/swc_css_prefixer/tests/fixture/text-align-last/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-align-last/output.css rename to crates/swc_css_prefixer/tests/fixture/text-align-last/output.css diff --git a/crates/swc_stylis/tests/fixture/text-decoration/input.css b/crates/swc_css_prefixer/tests/fixture/text-decoration/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-decoration/input.css rename to crates/swc_css_prefixer/tests/fixture/text-decoration/input.css diff --git a/crates/swc_stylis/tests/fixture/text-decoration/output.css b/crates/swc_css_prefixer/tests/fixture/text-decoration/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-decoration/output.css rename to crates/swc_css_prefixer/tests/fixture/text-decoration/output.css diff --git a/crates/swc_stylis/tests/fixture/text-emphasis/input.css b/crates/swc_css_prefixer/tests/fixture/text-emphasis/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-emphasis/input.css rename to crates/swc_css_prefixer/tests/fixture/text-emphasis/input.css diff --git a/crates/swc_stylis/tests/fixture/text-emphasis/output.css b/crates/swc_css_prefixer/tests/fixture/text-emphasis/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-emphasis/output.css rename to crates/swc_css_prefixer/tests/fixture/text-emphasis/output.css diff --git a/crates/swc_stylis/tests/fixture/text-orientation/input.css b/crates/swc_css_prefixer/tests/fixture/text-orientation/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-orientation/input.css rename to crates/swc_css_prefixer/tests/fixture/text-orientation/input.css diff --git a/crates/swc_stylis/tests/fixture/text-orientation/output.css b/crates/swc_css_prefixer/tests/fixture/text-orientation/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-orientation/output.css rename to crates/swc_css_prefixer/tests/fixture/text-orientation/output.css diff --git a/crates/swc_stylis/tests/fixture/text-size-adjust/input.css b/crates/swc_css_prefixer/tests/fixture/text-size-adjust/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-size-adjust/input.css rename to crates/swc_css_prefixer/tests/fixture/text-size-adjust/input.css diff --git a/crates/swc_stylis/tests/fixture/text-size-adjust/output.css b/crates/swc_css_prefixer/tests/fixture/text-size-adjust/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-size-adjust/output.css rename to crates/swc_css_prefixer/tests/fixture/text-size-adjust/output.css diff --git a/crates/swc_stylis/tests/fixture/text-spacing/input.css b/crates/swc_css_prefixer/tests/fixture/text-spacing/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-spacing/input.css rename to crates/swc_css_prefixer/tests/fixture/text-spacing/input.css diff --git a/crates/swc_stylis/tests/fixture/text-spacing/output.css b/crates/swc_css_prefixer/tests/fixture/text-spacing/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/text-spacing/output.css rename to crates/swc_css_prefixer/tests/fixture/text-spacing/output.css diff --git a/crates/swc_stylis/tests/fixture/touch-action/input.css b/crates/swc_css_prefixer/tests/fixture/touch-action/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/touch-action/input.css rename to crates/swc_css_prefixer/tests/fixture/touch-action/input.css diff --git a/crates/swc_stylis/tests/fixture/touch-action/output.css b/crates/swc_css_prefixer/tests/fixture/touch-action/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/touch-action/output.css rename to crates/swc_css_prefixer/tests/fixture/touch-action/output.css diff --git a/crates/swc_stylis/tests/fixture/transform/input.css b/crates/swc_css_prefixer/tests/fixture/transform/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/transform/input.css rename to crates/swc_css_prefixer/tests/fixture/transform/input.css diff --git a/crates/swc_stylis/tests/fixture/transform/output.css b/crates/swc_css_prefixer/tests/fixture/transform/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/transform/output.css rename to crates/swc_css_prefixer/tests/fixture/transform/output.css diff --git a/crates/swc_stylis/tests/fixture/transition/input.css b/crates/swc_css_prefixer/tests/fixture/transition/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/transition/input.css rename to crates/swc_css_prefixer/tests/fixture/transition/input.css diff --git a/crates/swc_stylis/tests/fixture/transition/output.css b/crates/swc_css_prefixer/tests/fixture/transition/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/transition/output.css rename to crates/swc_css_prefixer/tests/fixture/transition/output.css diff --git a/crates/swc_stylis/tests/fixture/user-select/input.css b/crates/swc_css_prefixer/tests/fixture/user-select/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/user-select/input.css rename to crates/swc_css_prefixer/tests/fixture/user-select/input.css diff --git a/crates/swc_stylis/tests/fixture/user-select/output.css b/crates/swc_css_prefixer/tests/fixture/user-select/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/user-select/output.css rename to crates/swc_css_prefixer/tests/fixture/user-select/output.css diff --git a/crates/swc_stylis/tests/fixture/width-size/input.css b/crates/swc_css_prefixer/tests/fixture/width-size/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/width-size/input.css rename to crates/swc_css_prefixer/tests/fixture/width-size/input.css diff --git a/crates/swc_stylis/tests/fixture/width-size/output.css b/crates/swc_css_prefixer/tests/fixture/width-size/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/width-size/output.css rename to crates/swc_css_prefixer/tests/fixture/width-size/output.css diff --git a/crates/swc_stylis/tests/fixture/width/input.css b/crates/swc_css_prefixer/tests/fixture/width/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/width/input.css rename to crates/swc_css_prefixer/tests/fixture/width/input.css diff --git a/crates/swc_stylis/tests/fixture/width/output.css b/crates/swc_css_prefixer/tests/fixture/width/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/width/output.css rename to crates/swc_css_prefixer/tests/fixture/width/output.css diff --git a/crates/swc_stylis/tests/fixture/writing-mode/input.css b/crates/swc_css_prefixer/tests/fixture/writing-mode/input.css similarity index 100% rename from crates/swc_stylis/tests/fixture/writing-mode/input.css rename to crates/swc_css_prefixer/tests/fixture/writing-mode/input.css diff --git a/crates/swc_stylis/tests/fixture/writing-mode/output.css b/crates/swc_css_prefixer/tests/fixture/writing-mode/output.css similarity index 100% rename from crates/swc_stylis/tests/fixture/writing-mode/output.css rename to crates/swc_css_prefixer/tests/fixture/writing-mode/output.css diff --git a/crates/swc_stylis/tests/prefixer.rs b/crates/swc_css_prefixer/tests/prefixer.rs similarity index 97% rename from crates/swc_stylis/tests/prefixer.rs rename to crates/swc_css_prefixer/tests/prefixer.rs index d81736a7b14..ab23ab5ca5b 100644 --- a/crates/swc_stylis/tests/prefixer.rs +++ b/crates/swc_css_prefixer/tests/prefixer.rs @@ -13,8 +13,8 @@ use swc_css_codegen::{ CodegenConfig, Emit, }; use swc_css_parser::{parse_file, parser::ParserConfig}; +use swc_css_prefixer::prefixer; use swc_css_visit::VisitMutWith; -use swc_stylis::prefixer::prefixer; use testing::NormalizedOutput; #[testing::fixture("tests/fixture/**/input.css")] diff --git a/crates/swc_stylis/src/lib.rs b/crates/swc_stylis/src/lib.rs deleted file mode 100644 index 2ce72df2225..00000000000 --- a/crates/swc_stylis/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ -pub mod prefixer;