diff --git a/.yarn/patches/@rollup__plugin-commonjs.patch b/.yarn/patches/@rollup__plugin-commonjs.patch index d450bc8f90ee..a83b206d065e 100644 --- a/.yarn/patches/@rollup__plugin-commonjs.patch +++ b/.yarn/patches/@rollup__plugin-commonjs.patch @@ -9,7 +9,7 @@ index 712f6a7d81b115d468a764b4139caa00d6cfc358..73fbf004217f3d44b6420d3082a0846b function transformAndCheckExports(code, id) { - if (isDynamicRequireModulesEnabled && this.getModuleInfo(id).isEntry) { -+ if (isDynamicRequireModulesEnabled && id.endsWith("/dynamic-require-entrypoint.cjs")) { ++ if (isDynamicRequireModulesEnabled && (this.getModuleInfo(id).isEntry || id.endsWith("/dynamic-require-entrypoint.cjs"))) { code = getDynamicPackagesEntryIntro(dynamicRequireModuleDirPaths, dynamicRequireModuleSet) + code; } diff --git a/yarn.lock b/yarn.lock index 35032604c121..211db4413299 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3719,7 +3719,7 @@ __metadata: "@rollup/plugin-commonjs@patch:@rollup/plugin-commonjs@^17.1.0#./.yarn/patches/@rollup__plugin-commonjs.patch::locator=babel%40workspace%3A.": version: 17.1.0 - resolution: "@rollup/plugin-commonjs@patch:@rollup/plugin-commonjs@npm%3A17.1.0#./.yarn/patches/@rollup__plugin-commonjs.patch::version=17.1.0&hash=91fadf&locator=babel%40workspace%3A." + resolution: "@rollup/plugin-commonjs@patch:@rollup/plugin-commonjs@npm%3A17.1.0#./.yarn/patches/@rollup__plugin-commonjs.patch::version=17.1.0&hash=a0d076&locator=babel%40workspace%3A." dependencies: "@rollup/pluginutils": ^3.1.0 commondir: ^1.0.1 @@ -3730,7 +3730,7 @@ __metadata: resolve: ^1.17.0 peerDependencies: rollup: ^2.30.0 - checksum: 411f75891b13ddadfa79ae14c22b3dd2a61783202beb4047c3ceca113a5ee147ed4566b159c20cc6696320dba760083775734e1164f5eb8691b501380a3977d2 + checksum: ccf44f300b5b7b9fcc72e22c414bd86ce461e412a0980fb2f73d6d2b562466409ecaae270a54028c4584650c7d1a0718a6af0d15c5a5b41d6cd20a2159ba34fb languageName: node linkType: hard