Skip to content

Commit 62889e5

Browse files
authored
fix(astro): drop the unused optimizeDeps target (#9465)
1 parent 8098400 commit 62889e5

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.changeset/lazy-jars-brake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/astro': patch
3+
---
4+
5+
Remove the Vite `optimizeDeps` target override, which is no longer needed and logged a deprecation warning on Astro 7.

packages/astro/src/integration/create-integration.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,6 @@ function createIntegration<Params extends HotloadAstroClerkIntegrationParams>()
7373
external: ['node:async_hooks'],
7474
},
7575

76-
// We need this for top-level await
77-
optimizeDeps: {
78-
esbuildOptions: {
79-
target: 'es2022',
80-
},
81-
},
8276
build: {
8377
target: 'es2022',
8478
rollupOptions: {

0 commit comments

Comments
 (0)