File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ function viteLegacyPlugin(options: Options = {}): Plugin[] {
545
545
configFile : false ,
546
546
compact : ! ! config . build . minify ,
547
547
sourceMaps,
548
- inputSourceMap : undefined , // sourceMaps ? chunk.map : undefined, `.map` TODO: moved to OutputChunk?
548
+ inputSourceMap : undefined ,
549
549
presets : [
550
550
// forcing our plugin to run before preset-env by wrapping it in a
551
551
// preset so we can catch the injected import statements...
Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ async function fileToBuiltUrl(
388
388
} )
389
389
generatedAssets . get ( config ) ! . set ( referenceId , { originalFileName } )
390
390
391
- url = `__VITE_ASSET__${ referenceId } __${ postfix ? `$_${ postfix } __` : `` } ` // TODO_BASE
391
+ url = `__VITE_ASSET__${ referenceId } __${ postfix ? `$_${ postfix } __` : `` } `
392
392
}
393
393
394
394
cache . set ( id , url )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import {
19
19
export function ssrManifestPlugin ( config : ResolvedConfig ) : Plugin {
20
20
// module id => preload assets mapping
21
21
const ssrManifest : Record < string , string [ ] > = { }
22
- const base = config . base // TODO:base
22
+ const base = config . base
23
23
24
24
return {
25
25
name : 'vite:ssr-manifest' ,
@@ -78,7 +78,7 @@ export function ssrManifestPlugin(config: ResolvedConfig): Plugin {
78
78
const chunk = bundle [ filename ] as OutputChunk | undefined
79
79
if ( chunk ) {
80
80
chunk . viteMetadata ! . importedCss . forEach ( ( file ) => {
81
- deps . push ( joinUrlSegments ( base , file ) ) // TODO:base
81
+ deps . push ( joinUrlSegments ( base , file ) )
82
82
} )
83
83
chunk . imports . forEach ( addDeps )
84
84
}
You can’t perform that action at this time.
0 commit comments