swc/packages/html
Sébastien Lorber 7b98bb5e93
Some checks failed
CI / Cargo fmt (push) Has been cancelled
CI / Cargo clippy (push) Has been cancelled
CI / Check license of dependencies (push) Has been cancelled
CI / Check (macos-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / Test wasm (binding_core_wasm) (push) Has been cancelled
CI / Test wasm (binding_minifier_wasm) (push) Has been cancelled
CI / Test wasm (binding_typescript_wasm) (push) Has been cancelled
CI / List crates (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Has been cancelled
CI / Test with @swc/cli (push) Has been cancelled
CI / Miri (better_scoped_tls) (push) Has been cancelled
CI / Miri (string_enum) (push) Has been cancelled
CI / Miri (swc) (push) Has been cancelled
CI / Miri (swc_bundler) (push) Has been cancelled
CI / Miri (swc_ecma_codegen) (push) Has been cancelled
CI / Miri (swc_ecma_minifier) (push) Has been cancelled
Benchmark / Bench everything (push) Has been cancelled
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Has been cancelled
CI / Done (push) Has been cancelled
fix(html/minifier): Fix HTML minifier TS types (#9615)
**Description:**

 - `preserveComments` is optional but required in the TS type

 - `removeRedundantAttributes` is an enum and passing a boolean leads to errors

See https://github.com/swc-project/swc/blob/main/crates/swc_html_minifier/src/option.rs#L54

**Related issue:**

 - https://github.com/facebook/docusaurus/pull/10554
2024-10-06 18:05:16 +09:00
..
scripts chore: Publish 1.7.30-nightly-20241002.1 with swc_core v0.106.4 2024-10-02 06:36:04 +00:00
.gitignore fix(html): Fix html binding 2024-08-20 12:18:51 +09:00
.npmignore chore(ci): Configure publish pipeline for html binding (#9458) 2024-08-20 09:49:19 +09:00
binding.d.ts chore(ci): Fix publish-npm-package action (#9461) 2024-08-20 14:54:07 +09:00
binding.js chore(ci): Fix publish-npm-package action (#9461) 2024-08-20 14:54:07 +09:00
index.ts fix(html/minifier): Fix HTML minifier TS types (#9615) 2024-10-06 18:05:16 +09:00
package.json chore: Publish 1.7.30-nightly-20241002.1 with swc_core v0.106.4 2024-10-02 06:36:04 +00:00
tsconfig.json chore(ci): Configure publish pipeline for html binding (#9458) 2024-08-20 09:49:19 +09:00