Browse Source

use hash source map

pull/12/head
Evan You 9 years ago
parent
commit
1cf2fe1467
  1. 4
      template/webpack.config.js

4
template/webpack.config.js

@ -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({

Loading…
Cancel
Save