Skip to content

Conversation

@developit
Copy link
Owner

@developit developit commented Sep 8, 2020

I constantly get tripped up by this. Without this change, Microbundle compiles -f esm without any errors, but it actually writes an ES Module bundle to the configured CJS output file (even if there's also -f cjs listed). With this change, -f esm is identical to -f es.

I constantly get tripped up by this. It compiles without errors, but writes an ES Module to the configured CJS output file.
@changeset-bot
Copy link

changeset-bot bot commented Sep 8, 2020

🦋 Changeset detected

Latest commit: 2176727

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

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

@ForsakenHarmony ForsakenHarmony merged commit 0527862 into master Sep 28, 2020
@ForsakenHarmony ForsakenHarmony deleted the esm-format-alias branch September 28, 2020 01:24
This was referenced Sep 28, 2020
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.

4 participants