summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lam <150060045+lamATnginx@users.noreply.github.com> 2024-04-23 14:29:38 -0700
committerGravatar GitHub <noreply@github.com> 2024-04-23 17:29:38 -0400
commitf6bddd3a155cd10a9f85c92d43b1af8b74786a42 (patch)
tree8e25921032fd93561a2159777a510b2c1899d48a
parent9326531333016f15e7d8338b2888cb734ef85d60 (diff)
downloadastro-f6bddd3a155cd10a9f85c92d43b1af8b74786a42.tar.gz
astro-f6bddd3a155cd10a9f85c92d43b1af8b74786a42.tar.zst
astro-f6bddd3a155cd10a9f85c92d43b1af8b74786a42.zip
fix: allow redoc to render on react components (#10855)
* fix: removed redoc from noExternal for react * Add changeset --------- Co-authored-by: Matthew Phillips <matthew@skypack.dev>
-rw-r--r--.changeset/metal-walls-fly.md5
-rw-r--r--packages/integrations/react/src/index.ts1
2 files changed, 5 insertions, 1 deletions
diff --git a/.changeset/metal-walls-fly.md b/.changeset/metal-walls-fly.md
new file mode 100644
index 000000000..fb906acc4
--- /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 c6bf1a200..e0149e8e7 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',
],