From 5f69cc2c73f097ca32b5b0bbb77e81f27b49f75d Mon Sep 17 00:00:00 2001 From: Lam Nguyen Date: Tue, 23 Apr 2024 08:13:08 -0700 Subject: [PATCH 1/2] fix: removed redoc from noExternal for react --- packages/integrations/react/src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/integrations/react/src/index.ts b/packages/integrations/react/src/index.ts index c6bf1a200ff5..e0149e8e76c1 100644 --- a/packages/integrations/react/src/index.ts +++ b/packages/integrations/react/src/index.ts @@ -82,7 +82,6 @@ function getViteConfiguration({ '@mui/material', '@mui/base', '@babel/runtime', - 'redoc', 'use-immer', '@material-tailwind/react', ], From a848c4c595fb2abb6dee1131f4cafcc10087a3a0 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Tue, 23 Apr 2024 16:54:03 -0400 Subject: [PATCH 2/2] Add changeset --- .changeset/metal-walls-fly.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/metal-walls-fly.md diff --git a/.changeset/metal-walls-fly.md b/.changeset/metal-walls-fly.md new file mode 100644 index 000000000000..fb906acc4e8e --- /dev/null +++ b/.changeset/metal-walls-fly.md @@ -0,0 +1,5 @@ +--- +"@astrojs/react": patch +--- + +Fix Redoc usage in React integration