File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
packages/react-devtools-core Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1313 " dist" ,
1414 " backend.js" ,
1515 " build-info.json" ,
16- " standalone.js" ,
17- " hookNames.js"
16+ " standalone.js"
1817 ],
1918 "scripts" : {
2019 "build" : " yarn build:backend && yarn build:standalone" ,
Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ let statusListener: StatusListener = (message: string) => {};
4545
4646// TODO (Webpack 5) Hopefully we can remove this prop after the Webpack 5 migration.
4747function hookNamesModuleLoaderFunction ( ) {
48- return import ( './hookNames' ) ;
48+ return import (
49+ /* webpackChunkName: 'parseHookNames' */ 'react-devtools-shared/src/hooks/parseHookNames'
50+ ) ;
4951}
5052
5153function setContentDOMNode ( value : HTMLElement ) {
Original file line number Diff line number Diff line change @@ -38,11 +38,10 @@ const babelOptions = {
3838
3939module . exports = {
4040 mode : __DEV__ ? 'development' : 'production' ,
41- devtool : __DEV__ ? 'cheap-source-map' : 'source-map' ,
41+ devtool : __DEV__ ? 'cheap-module-eval- source-map' : 'source-map' ,
4242 target : 'electron-main' ,
4343 entry : {
4444 standalone : './src/standalone.js' ,
45- hookNames : './src/hookNames.js' ,
4645 } ,
4746 output : {
4847 path : __dirname + '/dist' ,
You can’t perform that action at this time.
0 commit comments