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

Released NPM package should include a transpiled cjs module copy #22

Open
t83714 opened this issue Aug 26, 2018 · 0 comments
Open

Released NPM package should include a transpiled cjs module copy #22

t83714 opened this issue Aug 26, 2018 · 0 comments

Comments

@t83714
Copy link

t83714 commented Aug 26, 2018

Most bundle tool (e.g. rollup & Webpack ) should assume the entry file specify by "main" field of the package.json is a CJS module without any es2015.

The current index.js file contains const keyword will cause issues to minifier (e.g. uglify) as they are supposed to work with transpiled code only.

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

No branches or pull requests

1 participant