diff --git a/.changeset/dry-donkeys-study.md b/.changeset/dry-donkeys-study.md new file mode 100644 index 00000000000..0708be8f4ad --- /dev/null +++ b/.changeset/dry-donkeys-study.md @@ -0,0 +1,5 @@ +--- +'@talend/scripts-config-react-webpack': patch +--- + +Add patch for hoistNonReactStatics when we are not using initiator diff --git a/tools/scripts-config-react-webpack/config/webpack.config.js b/tools/scripts-config-react-webpack/config/webpack.config.js index 2df686d9e58..16494e4cbdd 100644 --- a/tools/scripts-config-react-webpack/config/webpack.config.js +++ b/tools/scripts-config-react-webpack/config/webpack.config.js @@ -201,6 +201,7 @@ async function getIndexTemplate(env, mode, indexTemplatePath, useInitiator = tru headScript = `${renderMeta()} `; } const header = `${customHead}