Skip to content

Commit

Permalink
Name modules in development for easier debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Nov 1, 2016
1 parent 6069610 commit 93f6bd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ module.exports = (program, directory, suppliedStage, webpackPort = 1500, pages =
__PREFIX_LINKS__: program.prefixLinks,
__LINK_PREFIX__: JSON.stringify(siteDB().get(`config`).linkPrefix),
}),
new webpack.NamedModulesPlugin(),
new HardSourceWebpackPlugin({
cacheDirectory: `${process.cwd()}/.cache/[confighash]`,
recordsPath: `${process.cwd()}/.cache/[confighash]/records.json`,
Expand Down

0 comments on commit 93f6bd2

Please sign in to comment.