Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: --esm and --brotli flags #1760

Merged
merged 3 commits into from
Dec 21, 2022
Merged

fix: --esm and --brotli flags #1760

merged 3 commits into from
Dec 21, 2022

Conversation

rschristian
Copy link
Member

What kind of change does this PR introduce?

Bugfixes

Did you add tests for your changes?

No

Summary

Closes #1759

Typo in #1699 meant --esm was not enabled by default in production builds -- slipped past our test suite as it envokes build() directly, rather than calling the CLI. I may rework that.

--brotli hasn't worked in ages due to an incorrect file constructor. Simple fix to correct.

Does this PR introduce a breaking change?

No

@rschristian rschristian requested a review from a team as a code owner December 21, 2022 23:00
@changeset-bot
Copy link

changeset-bot bot commented Dec 21, 2022

🦋 Changeset detected

Latest commit: 57e6494

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 a789c9d into master Dec 21, 2022
@rschristian rschristian deleted the fix/esm-and-brotli branch December 21, 2022 23:05
@preact-bot preact-bot mentioned this pull request Dec 21, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Brotli build - outputs content to same filename
1 participant