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:
parent
8570d19af6
commit
47a7a480d4
|
@ -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() + '')
|
||||
|
|
Loading…
Reference in a new issue