We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d2dfd0 commit 961a557Copy full SHA for 961a557
packages/react-error-overlay/webpack.config.js
@@ -7,7 +7,6 @@
7
'use strict';
8
9
const path = require('path');
10
-const webpack = require('webpack');
11
12
module.exports = {
13
devtool: 'cheap-module-source-map',
@@ -36,20 +35,4 @@ module.exports = {
36
35
iframeScript$: path.resolve(__dirname, './lib/iframe-bundle.js'),
37
},
38
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
- ],
55
};
0 commit comments