File tree 10 files changed +31
-10
lines changed
react-devtools-extensions
react-devtools-scheduling-profiler 10 files changed +31
-10
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const DEVTOOLS_VERSION = getVersionString();
19
19
20
20
module . exports = {
21
21
mode : __DEV__ ? 'development' : 'production' ,
22
- devtool : __DEV__ ? 'cheap-module-eval-source-map' : false ,
22
+ devtool : __DEV__ ? 'cheap-module-eval-source-map' : 'source-map' ,
23
23
entry : {
24
24
backend : './src/backend.js' ,
25
25
} ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const DEVTOOLS_VERSION = getVersionString();
19
19
20
20
module . exports = {
21
21
mode : __DEV__ ? 'development' : 'production' ,
22
- devtool : __DEV__ ? 'cheap-module-eval-source-map' : false ,
22
+ devtool : __DEV__ ? 'cheap-module-eval-source-map' : 'source-map' ,
23
23
target : 'electron-main' ,
24
24
entry : {
25
25
standalone : './src/standalone.js' ,
Original file line number Diff line number Diff line change 32
32
" main.html" ,
33
33
" panel.html" ,
34
34
" build/react_devtools_backend.js" ,
35
- " build/renderer.js"
35
+ " build/renderer.js" ,
36
+ " build/background.js.map" ,
37
+ " build/contentScript.js.map" ,
38
+ " build/injectGlobalHook.js.map" ,
39
+ " build/main.js.map" ,
40
+ " build/panel.js.map" ,
41
+ " build/renderer.js.map" ,
42
+ " build/react_devtools_backend.js.map"
36
43
],
37
44
38
45
"background" : {
Original file line number Diff line number Diff line change 32
32
" main.html" ,
33
33
" panel.html" ,
34
34
" build/react_devtools_backend.js" ,
35
- " build/renderer.js"
35
+ " build/renderer.js" ,
36
+ " build/background.js.map" ,
37
+ " build/contentScript.js.map" ,
38
+ " build/injectGlobalHook.js.map" ,
39
+ " build/main.js.map" ,
40
+ " build/panel.js.map" ,
41
+ " build/renderer.js.map" ,
42
+ " build/react_devtools_backend.js.map"
36
43
],
37
44
38
45
"background" : {
Original file line number Diff line number Diff line change 37
37
" main.html" ,
38
38
" panel.html" ,
39
39
" build/react_devtools_backend.js" ,
40
- " build/renderer.js"
40
+ " build/renderer.js" ,
41
+ " build/background.js.map" ,
42
+ " build/contentScript.js.map" ,
43
+ " build/injectGlobalHook.js.map" ,
44
+ " build/main.js.map" ,
45
+ " build/panel.js.map" ,
46
+ " build/renderer.js.map" ,
47
+ " build/react_devtools_backend.js.map"
41
48
],
42
49
43
50
"background" : {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const DEVTOOLS_VERSION = getVersionString();
18
18
19
19
module . exports = {
20
20
mode : __DEV__ ? 'development' : 'production' ,
21
- devtool : __DEV__ ? 'cheap-module-eval-source-map' : false ,
21
+ devtool : __DEV__ ? 'cheap-module-eval-source-map' : 'source-map' ,
22
22
entry : {
23
23
backend : './src/backend.js' ,
24
24
} ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const DEVTOOLS_VERSION = getVersionString();
18
18
19
19
module . exports = {
20
20
mode : __DEV__ ? 'development' : 'production' ,
21
- devtool : __DEV__ ? 'cheap-module-eval-source-map' : false ,
21
+ devtool : __DEV__ ? 'cheap-module-eval-source-map' : 'source-map' ,
22
22
entry : {
23
23
background : './src/background.js' ,
24
24
contentScript : './src/contentScript.js' ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const DEVTOOLS_VERSION = getVersionString();
17
17
18
18
module . exports = {
19
19
mode : __DEV__ ? 'development' : 'production' ,
20
- devtool : false ,
20
+ devtool : __DEV__ ? 'eval-cheap-source-map' : 'source-map' ,
21
21
entry : {
22
22
backend : './src/backend.js' ,
23
23
frontend : './src/frontend.js' ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ const babelOptions = {
40
40
41
41
const config = {
42
42
mode : __DEV__ ? 'development' : 'production' ,
43
- devtool : __DEV__ ? 'cheap-module-eval-source-map' : false ,
43
+ devtool : __DEV__ ? 'cheap-module-eval-source-map' : 'source-map' ,
44
44
entry : {
45
45
app : './src/index.js' ,
46
46
} ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const DEVTOOLS_VERSION = getVersionString();
25
25
26
26
const config = {
27
27
mode : __DEV__ ? 'development' : 'production' ,
28
- devtool : false ,
28
+ devtool : __DEV__ ? 'cheap-module-eval-source-map' : 'source-map' ,
29
29
entry : {
30
30
app : './src/app/index.js' ,
31
31
devtools : './src/devtools.js' ,
You can’t perform that action at this time.
0 commit comments