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

chore: build failed due to Rollup new version #20

Open
mikbry opened this issue Aug 27, 2020 · 0 comments
Open

chore: build failed due to Rollup new version #20

mikbry opened this issue Aug 27, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mikbry
Copy link
Owner

mikbry commented Aug 27, 2020

Description

$ yarn build
Failed
Entry module "src/index.js" is implicitly using "default"

Expected behaviour

Should build

Actual behaviour

Return:

src/index.js → dist/index.js, dist/index.mjs...
(!) Entry module "src/index.js" is implicitly using "default" export mode, which means for CommonJS output that its default export is assigned to "module.exports". For many tools, such CommonJS output will not be interchangeable with the original ES module. If this is intended, explicitly set "output.exports" to either "auto" or "default", otherwise you might want to consider changing the signature of "src/index.js" to use named exports only.
https://rollupjs.org/guide/en/#outputexports
src/index.js
(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
util (imported by src/index.js, src/ZipEntry.js)
@mikbry mikbry added the bug Something isn't working label Aug 27, 2020
@mikbry mikbry self-assigned this Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant