From f6bddd3a155cd10a9f85c92d43b1af8b74786a42 Mon Sep 17 00:00:00 2001 From: Lam <150060045+lamATnginx@users.noreply.github.com> Date: Tue, 23 Apr 2024 14:29:38 -0700 Subject: [PATCH] fix: allow redoc to render on react components (#10855) * fix: removed redoc from noExternal for react * Add changeset --------- Co-authored-by: Matthew Phillips --- .changeset/metal-walls-fly.md | 5 +++++ packages/integrations/react/src/index.ts | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) 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 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', ],