1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

set output.strictModuleExceptionHandling option (#655)

This commit is contained in:
Naoyuki Kanezawa 2017-01-06 02:28:54 +09:00 committed by Guillermo Rauch
parent 8570d19af6
commit 47a7a480d4

View file

@ -175,6 +175,7 @@ export default async function createCompiler (dir, { dev = false, quiet = false
filename: '[name]',
libraryTarget: 'commonjs2',
publicPath: '/_webpack/',
strictModuleExceptionHandling: true,
devtoolModuleFilenameTemplate ({ resourcePath }) {
const hash = createHash('sha1')
hash.update(Date.now() + '')