diff --git a/src/pitcher.ts b/src/pitcher.ts index 579889d18..c55aaf6ef 100644 --- a/src/pitcher.ts +++ b/src/pitcher.ts @@ -68,7 +68,8 @@ export const pitch = function () { const beforeLoaders = loaders.slice(cssLoaderIndex + 1) return genProxyModule( [...afterLoaders, stylePostLoaderPath, ...beforeLoaders], - context + context, + !! query.module ) } }