ERROR 11:23:55
[vite-ssg] An internal error occurred.
ERROR [vite-ssg] Please report an issue, if none already exists: https://github.com/antfu/vite-ssg/issues 11:23:55
/node_modules/rollup/dist/es/shared/parseAst.js:337
base = Object.assign(new Error(base.message), base);
^
Error [RollupError]: "vue3-lottie" cannot be included in manualChunks because it is resolved as an external module by the "external" option or plugins.
at error (/node_modules/rollup/dist/es/shared/parseAst.js:337:30)
at ModuleLoader.loadEntryModule (/node_modules/rollup/dist/es/shared/node-entry.js:18049:20)
at async Promise.all (index 0)
at async Promise.all (index 0) {
code: 'EXTERNAL_MODULES_CANNOT_BE_INCLUDED_IN_MANUAL_CHUNKS'
}
Describe the bug
How can I use manualChunks?
vite.config.ts
logs
Reproduction
-
System Info
Used Package Manager
yarn
Validations