File tree 1 file changed +4
-12
lines changed
packages/react-devtools-inline 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,6 @@ const babelOptions = {
33
33
) ,
34
34
} ;
35
35
36
- const builtModulesDir = resolve (
37
- __dirname ,
38
- '..' ,
39
- '..' ,
40
- 'build' ,
41
- 'oss-experimental' ,
42
- ) ;
43
-
44
36
module . exports = {
45
37
mode : __DEV__ ? 'development' : 'production' ,
46
38
devtool : __DEV__ ? 'eval-cheap-source-map' : 'source-map' ,
@@ -57,10 +49,10 @@ module.exports = {
57
49
libraryTarget : 'commonjs2' ,
58
50
} ,
59
51
externals : {
60
- react : resolve ( builtModulesDir , 'react' ) ,
61
- 'react-dom' : resolve ( builtModulesDir , 'react-dom/unstable_testing' ) ,
62
- 'react-is' : resolve ( builtModulesDir , 'react-is' ) ,
63
- scheduler : resolve ( builtModulesDir , 'scheduler' ) ,
52
+ react : 'react' ,
53
+ 'react-dom' : 'react-dom' ,
54
+ 'react-is' : 'react-is' ,
55
+ scheduler : 'scheduler' ,
64
56
} ,
65
57
node : {
66
58
// source-maps package has a dependency on 'fs'
You can’t perform that action at this time.
0 commit comments