diff --git a/frontend/package.json b/frontend/package.json index 4e10c8b..31d8075 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -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": { diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index f2a7f66..3ab9498 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -112,6 +112,11 @@ module.exports = (env, argv) => ({ }, exclude: /node_modules/, }, + { + test: /\.js$/, + enforce: 'pre', + use: ['source-map-loader'], + }, ], }, resolve: {