File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1787,6 +1787,10 @@ export async function resolveConfig(
17871787 configDefaults . experimental ,
17881788 config . experimental ?? { } ,
17891789 )
1790+ if ( command === 'serve' && experimental . fullBundleMode ) {
1791+ // full bundle mode does not support experimental.renderBuiltUrl
1792+ experimental . renderBuiltUrl = undefined
1793+ }
17901794
17911795 resolved = {
17921796 configFile : configFile ? normalizePath ( configFile ) : undefined ,
Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ async function fileToBuiltUrl(
473473 throw new Error ( 'unreachable' )
474474 } ,
475475 )
476- if ( typeof outputUrl === 'object' ) throw new Error ( 'not supported ' )
476+ if ( typeof outputUrl === 'object' ) throw new Error ( 'unreachable ' )
477477 url = outputUrl
478478 } else {
479479 url = `__VITE_ASSET__${ referenceId } __${ postfix ? `$_${ postfix } __` : `` } `
You can’t perform that action at this time.
0 commit comments