Enabled source maps for local front-end development. (#225)

This commit is contained in:
Nick Taylor 2018-04-23 13:49:02 -04:00 committed by Ben Halpern
parent 1d1f4036fc
commit 21b24f12fe

View file

@ -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;