fix(build,dev) fix source map generation in development mode
This commit is contained in:
parent
4b4caf5b1c
commit
e7c5421e33
|
@ -97,7 +97,7 @@ function getConfig(options = {}) {
|
|||
const { detectCircularDeps, minimize } = options;
|
||||
|
||||
return {
|
||||
devtool: 'source-map',
|
||||
devtool: minimize ? 'source-map' : 'eval-source-map',
|
||||
mode: minimize ? 'production' : 'development',
|
||||
module: {
|
||||
rules: [ {
|
||||
|
|
Loading…
Reference in New Issue