Use webpack named modules and eval source map plugins in development and disable Babel’s debug info
This commit is contained in:
parent
7c8c8a754f
commit
98a0717bba
3
.babelrc
3
.babelrc
|
@ -3,8 +3,7 @@
|
|||
["env", {
|
||||
"targets": {
|
||||
"node": "6.7.0"
|
||||
},
|
||||
"debug": true
|
||||
}
|
||||
}]
|
||||
]
|
||||
}
|
||||
|
|
|
@ -58,5 +58,9 @@ module.exports = {
|
|||
process: false,
|
||||
__filename: false,
|
||||
__dirname: false
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new webpack.NamedModulesPlugin(),
|
||||
new webpack.EvalSourceMapDevToolPlugin()
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue