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 @@ -1790,6 +1790,10 @@ export async function resolveConfig(
17901790 configDefaults . experimental ,
17911791 config . experimental ?? { } ,
17921792 )
1793+ if ( command === 'serve' && experimental . fullBundleMode ) {
1794+ // full bundle mode does not support experimental.renderBuiltUrl
1795+ experimental . renderBuiltUrl = undefined
1796+ }
17931797
17941798 resolved = {
17951799 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