diff --git a/rollup.config.js b/rollup.config.js index 76a02e862db..4ef5774c4d7 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -89,11 +89,7 @@ module.exports = files.map((file) => { emitDeclarationOnly: true, } }), - commonjs({ - namedExports: { - 'react-dom/client': ['createRoot'], - }, - }), + commonjs(), wildcardExternalsPlugin(peerDependencies), moveTypescriptDeclarationsPlugin(packageRoot), ],