Unverified Commit 55f61970 authored by Luke Sandberg's avatar Luke Sandberg Committed by GitHub

[turbopack] Improve the multiple bundler flags messge to note that perhaps your…

[turbopack] Improve the multiple bundler flags messge to note that perhaps your `package.json` is the problem (#85118)
parent ad186882
......@@ -64,7 +64,9 @@ export function parseBundlerArgs(options: {
if (bundlerFlags.size > 1) {
console.error(
`Multiple bundler flags set: ${Array.from(bundlerFlags.values()).flat().join(', ')}. Configure exactly one bundler.`
`Multiple bundler flags set: ${Array.from(bundlerFlags.values()).flat().join(', ')}.
Edit your command or your package.json script to configure only one bundler.`
)
process.exit(1)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment