From a80537c8253c60cfb5d9eedad9674c9d5ca98f48 Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Wed, 29 Mar 2023 15:50:21 +0200 Subject: [PATCH] Fix `Maximum call stack size exceeded` error --- packages/compat/src/v1-addon.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/compat/src/v1-addon.ts b/packages/compat/src/v1-addon.ts index 37c31f3d0..345c076fe 100644 --- a/packages/compat/src/v1-addon.ts +++ b/packages/compat/src/v1-addon.ts @@ -279,6 +279,7 @@ export default class V1Addon { // is just misleading to stage3 packagers that might look (rollup does). delete pkg.main; delete pkg.module; + delete pkg.exports; return pkg; }