mirror of
https://github.com/liyunze-coding/RythonDev.git
synced 2026-09-22 07:44:26 +00:00
29 lines
540 B
JavaScript
29 lines
540 B
JavaScript
import { defineConfig, passthroughImageService } from "astro/config";
|
|
|
|
import mdx from "@astrojs/mdx";
|
|
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
import svelte from "@astrojs/svelte";
|
|
|
|
import react from "@astrojs/react";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [mdx(), svelte({ extensions: [".svelte"] }), react()],
|
|
|
|
server: {
|
|
port: 8008,
|
|
hostname: "RythonDev",
|
|
},
|
|
|
|
site: "https://rython.dev",
|
|
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
},
|
|
|
|
image: {
|
|
service: passthroughImageService(),
|
|
},
|
|
});
|