Description
Describe the bug
vite build --mode dev
rolldown-vite v6.3.17 building for dev... 11:18:11
WARN Warning validate output options. 11:18:11
- For the "format". Invalid type: Expected ("es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd") but received "system".
ERROR ✗ Build failed in 21ms 11:18:11
ERROR error during build: 11:18:11
unimplemented: output.format: system
at unimplemented (file:///D:/gitlab/fe/mda/node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/misc-DGAe2XOW.mjs:14:18)
at bindingifyFormat (file:///D:/gitlab/fe/mda/node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/src-C1CX2gm4.mjs:3123:12)
at bindingifyOutputOptions (file:///D:/gitlab/fe/mda/node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/src-C1CX2gm4.mjs:3074:11)
at createBundlerOptions (file:///D:/gitlab/fe/mda/node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/src-C1CX2gm4.mjs:4539:32)
at async createBundler (file:///D:/gitlab/fe/mda/node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/src-C1CX2gm4.mjs:4569:17)
at async #getBundlerWithStopWorker (file:///D:/gitlab/fe/mda/node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/src-C1CX2gm4.mjs:4611:27)
at async RolldownBuild.write (file:///D:/gitlab/fe/mda/node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/src-C1CX2gm4.mjs:4621:24)
at async buildEnvironment (file:///D:/gitlab/fe/mda/node_modules/.pnpm/rolldown-vite@6.3.17_@types_9133c28bedf4fb30edfcc30ba73d936b/node_modules/rolldown-vite/dist/node/chunks/dep-BVD1pq3j.js:44451:16)
at async Object.defaultBuildApp [as buildApp] (file:///D:/gitlab/fe/mda/node_modules/.pnpm/rolldown-vite@6.3.17_@types_9133c28bedf4fb30edfcc30ba73d936b/node_modules/rolldown-vite/dist/node/chunks/dep-BVD1pq3j.js:44957:5)
at async CAC. (file:///D:/gitlab/fe/mda/node_modules/.pnpm/rolldown-vite@6.3.17_@types_9133c28bedf4fb30edfcc30ba73d936b/node_modules/rolldown-vite/dist/node/cli.js:864:7)
Reproduction
n/a
Steps to reproduce
No response
System Info
node -v: v18.19.1
Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs and the Rolldown-related guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.