File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
packages/react-error-overlay Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ const path = require('path');
10
10
const webpack = require ( 'webpack' ) ;
11
11
12
12
module . exports = {
13
- devtool : 'cheap-module-source-map' ,
14
13
entry : './src/iframeScript.js' ,
15
14
output : {
16
15
path : path . join ( __dirname , './lib' ) ,
@@ -28,6 +27,8 @@ module.exports = {
28
27
plugins : [
29
28
new webpack . DefinePlugin ( {
30
29
'process.env' : { NODE_ENV : '"production"' } ,
30
+ __REACT_DEVTOOLS_GLOBAL_HOOK__ :
31
+ '__REACT_ERROR_OVERLAY_GLOBAL_HOOK_NOOP__' ,
31
32
} ) ,
32
33
new webpack . optimize . UglifyJsPlugin ( {
33
34
compress : {
@@ -38,7 +39,6 @@ module.exports = {
38
39
comments : false ,
39
40
ascii_only : false ,
40
41
} ,
41
- sourceMap : true ,
42
42
} ) ,
43
43
] ,
44
44
} ;
Original file line number Diff line number Diff line change 9
9
const path = require ( 'path' ) ;
10
10
11
11
module . exports = {
12
- devtool : 'cheap-module-source-map' ,
13
12
entry : './src/index.js' ,
14
13
output : {
15
14
path : path . join ( __dirname , './lib' ) ,
You can’t perform that action at this time.
0 commit comments