use deno ssr with astro

This commit is contained in:
Philippe Loctaux 2023-06-03 15:54:20 +02:00
parent afd47527ff
commit 187621f8af
3 changed files with 421 additions and 14 deletions

View file

@ -1,9 +1,12 @@
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import compress from "astro-compress";
import deno from "@astrojs/deno";
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), compress()],
compressHTML: true,
output: "server",
adapter: deno({port: 8000})
});