Enable creation of sourcemaps
This commit is contained in:
parent
c365be4633
commit
71eb889f6b
6 changed files with 187 additions and 109 deletions
|
@ -8,8 +8,7 @@ const webpackBaseConfig = require('./webpack.base.config.js');
|
|||
|
||||
|
||||
const webpackConfig = merge(webpackBaseConfig, {
|
||||
// use inline sourcemap for karma-sourcemap-loader
|
||||
devtool: '#inline-source-map',
|
||||
devtool: 'eval-source-map',
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue