You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.
Dynamic imports (import('./foo').then(...)) error out with @pika/plugin-build-web:
Error: You must set "output.dir" instead of "output.file" when generating multiple chunks.
at error (node_modules/rollup/dist/shared/node-entry.js:5400:30)
at normalizeOutputOptions (node_modules/rollup/dist/shared/node-entry.js:14128:20)
at getOutputOptionsAndPluginDriver (node_modules/rollup/dist/shared/node-entry.js:13910:32)
at Object.write (node_modules/rollup/dist/shared/node-entry.js:13983:63)
at Object.build (node_modules/@pika/plugin-build-web/dist-node/index.js:61:16)
at async node_modules/@pika/pack/dist-node/index.js:2375:11
at async Build.init (node_modules/@pika/pack/dist-node/index.js:2459:7)
at async Object.run (node_modules/@pika/pack/dist-node/index.js:2467:3)
This is related to the rollup write. Changing it to the following should solve it:
Dynamic imports (
import('./foo').then(...)
) error out with@pika/plugin-build-web
:This is related to the rollup write. Changing it to the following should solve it:
The text was updated successfully, but these errors were encountered: