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: Don't use optimize-plugin's minify due to collisions #1814

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

rschristian
Copy link
Member

What kind of change does this PR introduce?

Bugfix

Did you add tests for your changes?

Yes

Summary

optimize-plugin's terser setup seems to be slightly misconfigured in that bundles can be minified to have colliding declarations. Noticed it in preact-www w/ our manual chunks for the editor/repl.

Does this PR introduce a breaking change?

No

@rschristian rschristian requested a review from a team as a code owner January 19, 2024 02:18
Copy link

changeset-bot bot commented Jan 19, 2024

🦋 Changeset detected

Latest commit: 18e9992

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
preact-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rschristian rschristian merged commit 1777c90 into master Jan 19, 2024
2 checks passed
@rschristian rschristian deleted the fix/terser-optimize-plugin branch January 19, 2024 02:43
@preact-bot preact-bot mentioned this pull request Dec 11, 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.

None yet

1 participant