We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4ac680 commit e8feb11Copy full SHA for e8feb11
packages/react-devtools-extensions/src/main.js
@@ -331,7 +331,9 @@ function createPanelIfReactLoaded() {
331
332
// TODO (Webpack 5) Hopefully we can remove this prop after the Webpack 5 migration.
333
const hookNamesModuleLoaderFunction = () =>
334
- import('react-devtools-shared/src/hooks/parseHookNames');
+ import(
335
+ /* webpackChunkName: 'parseHookNames' */ 'react-devtools-shared/src/hooks/parseHookNames'
336
+ );
337
338
root = createRoot(document.createElement('div'));
339
packages/react-devtools-extensions/webpack.config.js
@@ -114,6 +114,7 @@ module.exports = {
114
loader: 'workerize-loader',
115
options: {
116
inline: true,
117
+ name: '[name]',
118
},
119
120
{
0 commit comments