Skip to content

chore!: Pure ESM package#61

Merged
arv merged 2 commits intomainfrom
arv/esm-only
Dec 1, 2023
Merged

chore!: Pure ESM package#61
arv merged 2 commits intomainfrom
arv/esm-only

Conversation

@arv
Copy link
Copy Markdown
Contributor

@arv arv commented Dec 1, 2023

Comment thread package.json
"type": "module",
"main": "out/index.js",
"module": "out/index.mjs",
"module": "out/index.js",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"module" is still needed to make Parcel happy.
https://parceljs.org/blog/v2-9-0/#new-resolver

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂️ you're the boss boss

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was a bug report about this on discord a while back. I'm including it here for future historians:

https://discord.com/channels/830183651022471199/830183651022471202/1150524261690253493

@arv arv merged commit 46458e7 into main Dec 1, 2023
@arv arv deleted the arv/esm-only branch December 1, 2023 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants