chore: clarify analyzer comments
This commit is contained in:
parent
5885a7e67c
commit
0ae1c91b8d
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ export function vitePluginAnalyzer(internals: BuildInternals): VitePlugin {
|
|||
}
|
||||
internals.discoveredScripts.add(moduleId);
|
||||
|
||||
// TODO: map raw URL (?type=script) to client build ready URL
|
||||
// This will inject the raw URL as a script tag as-is,
|
||||
// which will fail to map with the client build output.
|
||||
pageData.propagatedScripts = propagatedMapByImporter;
|
||||
|
||||
// Add propagated scripts to client build,
|
||||
|
|
Loading…
Reference in a new issue