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(
1790
1790
configDefaults . experimental ,
1791
1791
config . experimental ?? { } ,
1792
1792
)
1793
+ if ( command === 'serve' && experimental . fullBundleMode ) {
1794
+ // full bundle mode does not support experimental.renderBuiltUrl
1795
+ experimental . renderBuiltUrl = undefined
1796
+ }
1793
1797
1794
1798
resolved = {
1795
1799
configFile : configFile ? normalizePath ( configFile ) : undefined ,
Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ async function fileToBuiltUrl(
473
473
throw new Error ( 'unreachable' )
474
474
} ,
475
475
)
476
- if ( typeof outputUrl === 'object' ) throw new Error ( 'not supported ' )
476
+ if ( typeof outputUrl === 'object' ) throw new Error ( 'unreachable ' )
477
477
url = outputUrl
478
478
} else {
479
479
url = `__VITE_ASSET__${ referenceId } __${ postfix ? `$_${ postfix } __` : `` } `
You can’t perform that action at this time.
0 commit comments