This commit is contained in:
Matthew Phillips 2023-03-09 16:50:51 -05:00
parent b98c54477f
commit 004e58078c

View file

@ -68,10 +68,11 @@ export function astroContentAssetPropagationPlugin({
const { stylesMap, urls } = await getStylesForURL(
pathToFileURL(basePath),
devModuleLoader,
'development'
'development',
settings.config
);
const hoistedScripts = await getScriptsForURL(pathToFileURL(basePath), devModuleLoader);
const hoistedScripts = await getScriptsForURL(pathToFileURL(basePath), devModuleLoader, settings.config);
return {
code: code