mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Use cheap module inline source map (#1894)
* Fix the page-loader-normalization issue on '/index' page. * Use cheap-module-inline-source-map as the default devtool.
This commit is contained in:
parent
9fb7987c69
commit
8268905d2f
|
@ -294,7 +294,7 @@ export default async function createCompiler (dir, { dev = false, quiet = false,
|
|||
module: {
|
||||
rules
|
||||
},
|
||||
devtool: dev ? 'inline-source-map' : false,
|
||||
devtool: dev ? 'cheap-module-inline-source-map' : false,
|
||||
performance: { hints: false }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue