Skip to content

Commit

Permalink
js files should also be lazy loaded when applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Reid committed Jan 22, 2018
1 parent f83f4b4 commit 1665881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css-modules-build-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
}

Expand Down

0 comments on commit 1665881

Please sign in to comment.