Update devtool

master v2.2.0-beta.1
git 9 years ago
parent b782af2df7
commit 26f530541d

@ -59,11 +59,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({

Loading…
Cancel
Save