summaryrefslogtreecommitdiff
path: root/packages/integrations/react/src
diff options
context:
space:
mode:
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'],