Skip to content

build: revert to terser-webpack-plugin#407

Merged
pi0 merged 3 commits intounjs:mainfrom
kricsleo:fix/build
Oct 1, 2025
Merged

build: revert to terser-webpack-plugin#407
pi0 merged 3 commits intounjs:mainfrom
kricsleo:fix/build

Conversation

@kricsleo
Copy link
Copy Markdown
Member

resolves #406

Revert from rspack.SwcJsMinimizerRspackPlugin back to terser-webpack-plugin due to a bundle issue.
(This is a quick fix, more details need to be investigated)

As for the bundle size:

rspack.SwcJsMinimizerRspackPlugin terser-webpack-plugin
dist/jiti.cjs: 48,555 B dist/jiti.cjs: 48,382 B

@pi0 pi0 changed the title fix(build): revert to terser-webpack-plugin build: revert to terser-webpack-plugin Oct 1, 2025
Copy link
Copy Markdown
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pi0 pi0 merged commit e840692 into unjs:main Oct 1, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError when accessing exported members inside namespaces in v2.6.0

2 participants