From 239b9a2fb864fa785e4150cd8aa833de72dd3517 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Tue, 28 Mar 2023 15:35:21 -0400 Subject: [PATCH] Add use-immer as a noExternal module (#6696) --- .changeset/wet-lemons-rest.md | 5 +++++ packages/integrations/react/src/index.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/wet-lemons-rest.md diff --git a/.changeset/wet-lemons-rest.md b/.changeset/wet-lemons-rest.md new file mode 100644 index 000000000000..d2d92f6f5143 --- /dev/null +++ b/.changeset/wet-lemons-rest.md @@ -0,0 +1,5 @@ +--- +'@astrojs/react': patch +--- + +Add use-immer as a noExternal module diff --git a/packages/integrations/react/src/index.ts b/packages/integrations/react/src/index.ts index 21ef3568cbbf..b01229c3e6df 100644 --- a/packages/integrations/react/src/index.ts +++ b/packages/integrations/react/src/index.ts @@ -66,6 +66,7 @@ function getViteConfiguration() { '@mui/material', '@mui/base', '@babel/runtime', + 'use-immer', ], }, };