summaryrefslogtreecommitdiff
path: root/packages/integrations/react/src
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2023-10-25 15:00:43 -0700
committerGravatar GitHub <noreply@github.com> 2023-10-25 15:00:43 -0700
commit28e56309a04a1a23ed1e2f62e8714ea0515ced25 (patch)
tree3d03571408cf686cfbaba6bc5c3f8d8eed24c6a4 /packages/integrations/react/src
parentdb7a47453548473f041507c92fba609fee7e9f99 (diff)
downloadastro-28e56309a04a1a23ed1e2f62e8714ea0515ced25.tar.gz
astro-28e56309a04a1a23ed1e2f62e8714ea0515ced25.tar.zst
astro-28e56309a04a1a23ed1e2f62e8714ea0515ced25.zip
[ci] update lockfile (#8721)
* [ci] update lockfile * fix ts-expect-error issue --------- Co-authored-by: matthewp <matthewp@users.noreply.github.com> Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Diffstat (limited to 'packages/integrations/react/src')
-rw-r--r--packages/integrations/react/src/index.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/integrations/react/src/index.ts b/packages/integrations/react/src/index.ts
index e4b977880..d5f696522 100644
--- a/packages/integrations/react/src/index.ts
+++ b/packages/integrations/react/src/index.ts
@@ -7,7 +7,6 @@ export type ReactIntegrationOptions = Pick<ViteReactPluginOptions, 'include' | '
experimentalReactChildren?: boolean;
};
-// @ts-expect-error
const FAST_REFRESH_PREAMBLE = react.preambleCode;
function getRenderer() {
@@ -66,7 +65,6 @@ function getViteConfiguration({
: '@astrojs/react/server-v17.js',
],
},
- // @ts-expect-error
plugins: [react({ include, exclude }), optionsPlugin(!!experimentalReactChildren)],
resolve: {
dedupe: ['react', 'react-dom', 'react-dom/server'],