diff --git a/css-modules-build-plugin.js b/css-modules-build-plugin.js index 55a7a86..ab2aee7 100644 --- a/css-modules-build-plugin.js +++ b/css-modules-build-plugin.js @@ -279,7 +279,7 @@ export default class CssModulesBuildPlugin extends MultiFileCachingCompiler { path: getOutputPath(result.filePath, pluginOptions.outputCssFilePath) + '.css', sourcePath: getOutputPath(result.filePath, pluginOptions.outputCssFilePath) + '.css', sourceMap: JSON.stringify(result.sourceMap), - lazy: false + lazy: result.isLazy }); }