forked from p34709852/monkey
UI: Use eval-source-map instead of eval devtool
This commit is contained in:
parent
00dc772953
commit
fd2dc2245c
|
@ -9,6 +9,7 @@ const smp = new SpeedMeasurePlugin({ disable: isProduction });
|
|||
|
||||
|
||||
module.exports = smp.wrap({
|
||||
mode : isProduction ? 'production' : 'development',
|
||||
cache: {
|
||||
type: 'filesystem',
|
||||
memoryCacheUnaffected: true
|
||||
|
@ -78,7 +79,7 @@ module.exports = smp.wrap({
|
|||
}
|
||||
]
|
||||
},
|
||||
devtool: isProduction ? 'source-map' : 'eval',
|
||||
devtool: isProduction ? 'source-map' : 'eval-source-map',
|
||||
plugins: [
|
||||
new ForkTsCheckerWebpackPlugin({
|
||||
typescript: {
|
||||
|
|
Loading…
Reference in New Issue