Skip to content

Commit 961a557

Browse files
committed
We cannot strip our own checks if production
1 parent 7d2dfd0 commit 961a557

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

packages/react-error-overlay/webpack.config.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
'use strict';
88

99
const path = require('path');
10-
const webpack = require('webpack');
1110

1211
module.exports = {
1312
devtool: 'cheap-module-source-map',
@@ -36,20 +35,4 @@ module.exports = {
3635
iframeScript$: path.resolve(__dirname, './lib/iframe-bundle.js'),
3736
},
3837
},
39-
plugins: [
40-
new webpack.DefinePlugin({
41-
'process.env': { NODE_ENV: '"production"' },
42-
}),
43-
new webpack.optimize.UglifyJsPlugin({
44-
compress: {
45-
warnings: false,
46-
comparisons: false,
47-
},
48-
output: {
49-
comments: false,
50-
ascii_only: false,
51-
},
52-
sourceMap: false,
53-
}),
54-
],
5538
};

0 commit comments

Comments
 (0)