swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/react): Use correct span for `@jsxFrag` as null literal (#11139) - Will fix .. https://github.com/denoland/deno/issues/30216 The expression span for `@jsxFrag null` wasn't being adjusted. This was leading to a source map panic when trying to format the error for `error: pragmaFrag cannot be set when runtime is automatic`.
main
2 days ago
fix(es/transforms): Correct span for @jsxFrag as null literal
nayeemrmn:jsx-frag-null-span
3 days ago
feat(es/minifier): Make import deduplication unconditional Remove merge_duplicate_imports option and make import deduplication run unconditionally during minification to reduce bundle size. - Remove merge_duplicate_imports option from CompressOptions - Update pure optimizer to always merge duplicate imports - Remove option from Terser compatibility layer - Update test configuration to reflect unconditional behavior Fixes #11133 š¤ Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Donny/ź°ėģ¤ <kdy1@users.noreply.github.com>
claude/issue-11133-20251002-1022
4 days ago
feat(minifier): add merge_duplicate_imports option to compress settings Implement feature to merge duplicate named imports from the same module during minification to reduce bundle size. - Add merge_duplicate_imports option to CompressOptions (defaults to false) - Create merge_duplicate_imports function in pure optimizer that directly iterates over ModuleItems - Handle named, default, and namespace imports correctly without creating new visitor - Preserve import semantics while merging compatible imports - Add test case for various import merging scenarios Fixes #11133 š¤ Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Donny/ź°ėģ¤ <kdy1@users.noreply.github.com>
claude/issue-11133-20251002-1022
4 days ago
fix(es/parser): Handle JSX attributes with keyword prefixes correctly (#11136) **Description:** This PR fixes a bug in the JSX lexer where attributes with keyword prefixes (like `if-abc`, `for-test`, etc.) were incorrectly parsed. The lexer was reusing stale identifier values from previous tokens instead of using the keyword itself. For example, `<Component mod={{ helloworld: undefined }} if-abc="test" />` would incorrectly parse the attribute name as `helloworld-abc` instead of `if-abc`. **BREAKING CHANGE:** None **Related issue:** - Closes #11134
main
4 days ago
Create light-cheetahs-protect.md
vedranvucic77:fix-jsx-keyword-attributes-pr2
4 days ago
fix(es/parser): Handle JSX attributes with keyword prefixes correctly
vedranvucic77:fix-jsx-keyword-attributes-pr2
4 days ago
fix(es/parser): Handle JSX attributes with keyword prefixes correctly
vedranvucic77:fix-jsx-keyword-attribute
4 days ago
Active Branches
feat(es/minifier): Merge duplicate imports
last run
4 days ago
#11138
CodSpeed Performance Gauge
0%
refactor(ast): Introduce flexible serialization encoding for ast
last run
6 days ago
#11100
CodSpeed Performance Gauge
0%
refactor(ast): Make ast enum `non_exhaustive`
last run
7 days ago
#11115
CodSpeed Performance Gauge
0%
Ā© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs