Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(esbuild): apply minify with corresponding loader #254

Merged
merged 5 commits into from
Jul 18, 2023

Conversation

SukkaW
Copy link
Contributor

@SukkaW SukkaW commented Apr 13, 2023

Currently, unbuild's built-in esbuild plugin does support modification (through rollup.esbuild.minify). Somehow in some projects, typescript files get passed to esbuild during the esbuild plugin's renderChunk phase, causing #46 (comment). The PR fixes that.

@pi0 pi0 changed the title fix(#46): make esbuild minify works fix(esbuild): apply minify only on js chunks Jul 18, 2023
@pi0 pi0 changed the title fix(esbuild): apply minify only on js chunks fix(esbuild): apply minify with corresponding loader Jul 18, 2023
@pi0 pi0 merged commit c338907 into unjs:main Jul 18, 2023
@pi0 pi0 mentioned this pull request Jul 18, 2023
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.

3 participants