mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-05-13 13:17:45 +00:00
30 lines
579 B
JavaScript
30 lines
579 B
JavaScript
// @ts-check
|
|
import { defineConfig, fontProviders } from "astro/config";
|
|
|
|
import react from "@astrojs/react";
|
|
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
import icon from "astro-icon";
|
|
|
|
import swup from "@swup/astro";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
output: "static",
|
|
integrations: [react(), icon(), swup({ theme: false })],
|
|
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
ssr: {
|
|
noExternal: ["@tomodachi-share/shared"],
|
|
},
|
|
},
|
|
fonts: [
|
|
{
|
|
provider: fontProviders.fontsource(),
|
|
name: "Lexend",
|
|
cssVariable: "--font-lexend",
|
|
},
|
|
],
|
|
});
|