From 340f29b7654a687e84bd1e3ab255e8cf609d467d Mon Sep 17 00:00:00 2001 From: Sachin Raja Date: Mon, 25 Apr 2022 16:27:24 -0700 Subject: [PATCH] downgrade @rollup/plugin-commonjs --- package.json | 2 +- rollup.config.js | 1 - yarn.lock | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 500cb00e12..140822b035 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "@babel/preset-react": "^7.16.7", "@babel/preset-typescript": "^7.16.7", "@rollup/plugin-babel": "^5.3.1", - "@rollup/plugin-commonjs": "^22.0.0", + "@rollup/plugin-commonjs": "21.1.0", "@rollup/plugin-node-resolve": "^13.2.1", "@rollup/plugin-replace": "^4.0.0", "@testing-library/jest-dom": "^5.14.1", diff --git a/rollup.config.js b/rollup.config.js index a17b9a8728..6920153b77 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -48,7 +48,6 @@ const babelConfig = { extensions, babelHelpers: 'bundled', } - const resolveConfig = { extensions } const externalPeerDeps = () => diff --git a/yarn.lock b/yarn.lock index 1d455a5c58..8af599bad1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2130,10 +2130,10 @@ "@babel/helper-module-imports" "^7.10.4" "@rollup/pluginutils" "^3.1.0" -"@rollup/plugin-commonjs@^22.0.0": - version "22.0.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.0.tgz#f4d87016e2fbf187a593ab9f46626fe05b59e8bd" - integrity sha512-Ktvf2j+bAO+30awhbYoCaXpBcyPmJbaEUYClQns/+6SNCYFURbvBiNbWgHITEsIgDDWCDUclWRKEuf8cwZCFoQ== +"@rollup/plugin-commonjs@21.1.0": + version "21.1.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-21.1.0.tgz#45576d7b47609af2db87f55a6d4b46e44fc3a553" + integrity sha512-6ZtHx3VHIp2ReNNDxHjuUml6ur+WcQ28N1yHgCQwsbNkQg2suhxGMDQGJOn/KuDxKtd1xuZP5xSTwBA4GQ8hbA== dependencies: "@rollup/pluginutils" "^3.1.0" commondir "^1.0.1"