Update the source map configuration
This commit is contained in:
parent
69115c7318
commit
224eec48c0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user