|
|
@ -44,11 +44,11 @@ module.exports = { |
|
|
|
historyApiFallback: true, |
|
|
|
noInfo: true |
|
|
|
}, |
|
|
|
devtool: 'eval-source-map' |
|
|
|
devtool: '#eval-source-map' |
|
|
|
} |
|
|
|
|
|
|
|
if (process.env.NODE_ENV === 'production') { |
|
|
|
module.exports.devtool = 'source-map' |
|
|
|
module.exports.devtool = '#source-map' |
|
|
|
// http://vuejs.github.io/vue-loader/workflow/production.html
|
|
|
|
module.exports.plugins = (module.exports.plugins || []).concat([ |
|
|
|
new webpack.DefinePlugin({ |
|
|
|