Enabled source maps for local front-end development. (#225)
This commit is contained in:
parent
1d1f4036fc
commit
21b24f12fe
1 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
const environment = require('./environment')
|
||||
const environment = require('./environment');
|
||||
const config = environment.toWebpackConfig();
|
||||
|
||||
module.exports = environment.toWebpackConfig()
|
||||
// For more information, see https://webpack.js.org/configuration/devtool/#devtool
|
||||
config.devtool = 'cheap-module-eval-source-map';
|
||||
|
||||
module.exports = config;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue