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: use packemon #9

Merged
merged 5 commits into from Sep 4, 2022
Merged

fix: use packemon #9

merged 5 commits into from Sep 4, 2022

Conversation

azu
Copy link
Owner

@azu azu commented Sep 4, 2022

Comment on lines +83 to +89
{
"inputs": {
"index": "src/check-ends-with-period.ts"
},
"format": "cjs",
"platform": "node"
}
Copy link
Owner Author

Choose a reason for hiding this comment

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

This config generate index-wrapper.mjs.
It will avoid dual pacakge hazard.
milesj/packemon#133

Previous version force me to use type: commonjs.
It blocked to use ts-node + mocha + esm testing.
But, this issue has been resolved.

@azu azu merged commit 5cb6c03 into master Sep 4, 2022
@azu azu deleted the dual-package-workaround branch September 4, 2022 05:07
@gfortaine gfortaine mentioned this pull request Jan 3, 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.

CJS is broken 2.0.0
1 participant