mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Fixed issue for better bundles,chunks and workers name in devtools-extensions. (#22322)
This commit is contained in:
@@ -331,7 +331,9 @@ function createPanelIfReactLoaded() {
|
||||
|
||||
// TODO (Webpack 5) Hopefully we can remove this prop after the Webpack 5 migration.
|
||||
const hookNamesModuleLoaderFunction = () =>
|
||||
import('react-devtools-shared/src/hooks/parseHookNames');
|
||||
import(
|
||||
/* webpackChunkName: 'parseHookNames' */ 'react-devtools-shared/src/hooks/parseHookNames'
|
||||
);
|
||||
|
||||
root = createRoot(document.createElement('div'));
|
||||
|
||||
|
||||
@@ -114,6 +114,7 @@ module.exports = {
|
||||
loader: 'workerize-loader',
|
||||
options: {
|
||||
inline: true,
|
||||
name: '[name]',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user