chore: clarify analyzer comments

This commit is contained in:
bholmesdev 2023-01-30 15:11:45 -05:00 committed by Matthew Phillips
parent 5885a7e67c
commit 0ae1c91b8d

View file

@ -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,