1
0
Fork 0
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:
Arunoda Susiripala 2017-05-05 23:54:47 -07:00 committed by GitHub
parent 9fb7987c69
commit 8268905d2f

View file

@ -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 }
}