We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
experimental.bundledDev
1 parent 98d9a33 commit e81c183Copy full SHA for e81c183
1 file changed
packages/vite/src/node/plugins/asset.ts
@@ -468,7 +468,10 @@ async function fileToBuiltUrl(
468
postfix = postfix.replace(noInlineRE, '').replace(/^&/, '?')
469
}
470
471
- if (environment.config.experimental.bundledDev) {
+ if (
472
+ environment.config.command === 'serve' &&
473
+ environment.config.experimental.bundledDev
474
+ ) {
475
const outputFilename = pluginContext.getFileName(referenceId)
476
const outputUrl = toOutputFilePathInJS(
477
environment,
0 commit comments