Browse Source

Use source-maps for better debugging

vuex
Schneider 8 years ago
parent
commit
c6f8891755
  1. 3
      build/webpack.dev.conf.js

3
build/webpack.dev.conf.js

@ -16,7 +16,8 @@ module.exports = merge(baseWebpackConfig, {
rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap }) rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap })
}, },
// cheap-module-eval-source-map is faster for development // cheap-module-eval-source-map is faster for development
devtool: '#cheap-module-eval-source-map',
//devtool: '#cheap-module-eval-source-map',
devtool: '#source-map',
plugins: [ plugins: [
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': config.dev.env 'process.env': config.dev.env

Loading…
Cancel
Save