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', ], }, };