mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 17:49:58 +00:00
Remove source maps from production builds
This commit is contained in:
@@ -69,7 +69,7 @@ const webpackConfig = require(`${ROOT}/webpack.config.js`)({
|
||||
// Add mode to config
|
||||
webpackConfig.mode = argv.mode;
|
||||
webpackConfig.devtool = argv.mode === "production"
|
||||
? "source-map"
|
||||
? "none"
|
||||
: "eval";
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user