mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
970cc81033
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
**Description:** Support use a custom css minifier when minimizing html, add `feature = "custom-css-minifier"` to enable this and remove the dependencies of `swc_css_*`. And `feature = "default-css-minifier"` keep the original behavior, using `swc_css` when minimizing html, and this is the default feature. (Rspack is now using LightningCSS to minimize CSS files, but the CSS insides html is still using `swc_css` (which called by `swc_html_minifier`) to do the minify, so we want to also use LightningCSS to minify the CSS insides html to keep the consistent with CSS files) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |