Skip to content

Commit

Permalink
Update .yarn/patches/@rollup__plugin-commonjs.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Feb 21, 2021
1 parent 3c99579 commit 00fc143
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .yarn/patches/@rollup__plugin-commonjs.patch
Expand Up @@ -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;
}
4 changes: 2 additions & 2 deletions yarn.lock
Expand Up @@ -3722,7 +3722,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
Expand All @@ -3733,7 +3733,7 @@ __metadata:
resolve: ^1.17.0
peerDependencies:
rollup: ^2.30.0
checksum: 411f75891b13ddadfa79ae14c22b3dd2a61783202beb4047c3ceca113a5ee147ed4566b159c20cc6696320dba760083775734e1164f5eb8691b501380a3977d2
checksum: ccf44f300b5b7b9fcc72e22c414bd86ce461e412a0980fb2f73d6d2b562466409ecaae270a54028c4584650c7d1a0718a6af0d15c5a5b41d6cd20a2159ba34fb
languageName: node
linkType: hard

Expand Down

0 comments on commit 00fc143

Please sign in to comment.