Add source map loader to frontend
This commit is contained in:
parent
cd65cb5b6c
commit
155e360c8e
2 changed files with 6 additions and 0 deletions
|
|
@ -36,6 +36,7 @@
|
|||
"webpack": "^4.43.0",
|
||||
"webpack-bundle-analyzer": "^3.9.0",
|
||||
"webpack-cli": "^3.3.11",
|
||||
"source-map-loader": "^1.1.0",
|
||||
"webpack-dev-server": "^3.10.3"
|
||||
},
|
||||
"postcss": {
|
||||
|
|
|
|||
|
|
@ -112,6 +112,11 @@ module.exports = (env, argv) => ({
|
|||
},
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
enforce: 'pre',
|
||||
use: ['source-map-loader'],
|
||||
},
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue