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(next-pwa): fixed build crashing when swcMinify is set to false #49

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

DuCanhGH
Copy link
Owner

@DuCanhGH DuCanhGH commented Jul 1, 2023

What?

This PR fixes build crashing when swcMinify is set to false.

How?

We now use our custom minifier for minifying even when swcMinify is set to false, ensuring that we handle our custom options properly before passing the options to terserMinify.

@changeset-bot
Copy link

changeset-bot bot commented Jul 1, 2023

🦋 Changeset detected

Latest commit: 4c6aa58

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

This PR includes changesets to release 1 package
Name Type
@ducanh2912/next-pwa 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

@DuCanhGH DuCanhGH merged commit b53cf03 into master Jul 1, 2023
@DuCanhGH DuCanhGH mentioned this pull request Jul 1, 2023
@DuCanhGH DuCanhGH deleted the fix-terser-minifier branch July 1, 2023 05:19
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.

1 participant