Enable creation of sourcemaps

This commit is contained in:
Graham Fairweather 2018-03-05 13:19:27 +01:00
parent c365be4633
commit 71eb889f6b
6 changed files with 187 additions and 109 deletions

View file

@ -12,6 +12,8 @@ const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin');
module.exports = merge(webpackBaseConfig, {
devtool: 'eval-source-map',
// 入口
entry: {
main: './examples/main',