diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index bf4f462..51f8dd0 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -104,11 +104,8 @@ const config = { ], resolve: { extensions: [".js"] - } + }, + devtool: mode === "production" ? "source-map" : "inline-source-map" }; -if (process.env.NODE_ENV !== "production") { - config.devtool = "#cheap-module-source-map"; -} - module.exports = config;