Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: --experimental-ssr fixes #2937

Merged
merged 14 commits into from
Mar 31, 2022
Prev Previous commit
Fixed deno tests
JuanM04 committed Mar 31, 2022
commit cb45642008b0cca6a38c0282f569aceeb3c32bfe
Original file line number Diff line number Diff line change
@@ -2,5 +2,6 @@ import { defineConfig } from 'astro/config';
import deno from '@astrojs/deno';

export default defineConfig({
adapter: deno()
adapter: deno(),
buildOptions: { experimentalSsr: true }
})
2 changes: 1 addition & 1 deletion packages/integrations/deno/test/helpers.js
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ export async function runBuild(fixturePath) {
export async function runBuildAndStartApp(fixturePath, cb) {
const url = new URL(fixturePath, dir);
const close = await runBuild(fixturePath);
const mod = await import(new URL('./dist/entry.mjs', url));
const mod = await import(new URL('./dist/server/entry.mjs', url));
await cb();
await mod.stop();
await close();