Trying out source-map
for devtool setting
This commit is contained in:
@ -8,7 +8,7 @@ commonWebpackConfig = require('./webpack.config');
|
|||||||
|
|
||||||
productionWebpackConfig = Object.assign(commonWebpackConfig, {
|
productionWebpackConfig = Object.assign(commonWebpackConfig, {
|
||||||
cache: true,
|
cache: true,
|
||||||
devtool: 'cheap-module-source-map',
|
devtool: 'source-map',
|
||||||
entry: ['babel-polyfill', 'babel-regenerator-runtime', './frontend/index'],
|
entry: ['babel-polyfill', 'babel-regenerator-runtime', './frontend/index'],
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, 'dist'),
|
path: path.join(__dirname, 'dist'),
|
||||||
|
Reference in New Issue
Block a user