anzip
anzip copied to clipboard
chore: build failed due to Rollup new version
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)