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(
1787
1787
configDefaults . experimental ,
1788
1788
config . experimental ?? { } ,
1789
1789
)
1790
+ if ( command === 'serve' && experimental . fullBundleMode ) {
1791
+ // full bundle mode does not support experimental.renderBuiltUrl
1792
+ experimental . renderBuiltUrl = undefined
1793
+ }
1790
1794
1791
1795
resolved = {
1792
1796
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