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({
|
module.exports = smp.wrap({
|
||||||
|
mode : isProduction ? 'production' : 'development',
|
||||||
cache: {
|
cache: {
|
||||||
type: 'filesystem',
|
type: 'filesystem',
|
||||||
memoryCacheUnaffected: true
|
memoryCacheUnaffected: true
|
||||||
|
@ -78,7 +79,7 @@ module.exports = smp.wrap({
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
devtool: isProduction ? 'source-map' : 'eval',
|
devtool: isProduction ? 'source-map' : 'eval-source-map',
|
||||||
plugins: [
|
plugins: [
|
||||||
new ForkTsCheckerWebpackPlugin({
|
new ForkTsCheckerWebpackPlugin({
|
||||||
typescript: {
|
typescript: {
|
||||||
|
|
Loading…
Reference in New Issue