Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cf2013 committed Nov 4, 2023
2 parents d847c6b + ff0fafb commit 3339dbc
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
import { defineConfig } from 'astro/config';
import compress from 'astro-compress';
import mdx from '@astrojs/mdx';
import tailwind from '@astrojs/tailwind';

import react from "@astrojs/react";
import image from "@astrojs/image";
import tailwind from "@astrojs/tailwind";
import { defineConfig } from "astro/config";

// https://astro.build/config
export default defineConfig({
integrations: [compress(), mdx(), tailwind(), react()]
site: "https://astro-moon-landing.netlify.app/",
integrations: [
tailwind(),
image({
serviceEntryPoint: "@astrojs/image/sharp",
}),
],
vite: {
ssr: {
external: ["svgo"],
},
},
});

0 comments on commit 3339dbc

Please sign in to comment.