Skip to content

Commit b3d6f10

Browse files
feat: move to setup
1 parent 724a0d1 commit b3d6f10

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libs/qwikdev-astro/src/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,9 @@ export default defineIntegration({
253253
},
254254

255255
"astro:build:setup": async ({ vite }) => {
256+
await entrypointsReady;
256257
astroVite = vite;
257-
},
258258

259-
"astro:build:ssr": async () => {
260-
await entrypointsReady;
261259

262260
// Astro's SSR build finished -> Now we can handle how Qwik normally builds
263261
const qwikClientConfig: QwikVitePluginOptions = {
@@ -343,7 +341,7 @@ export default defineIntegration({
343341
emptyOutDir: false
344342
}
345343
});
346-
}
344+
},
347345
};
348346

349347
return withPlugins({

0 commit comments

Comments
 (0)