2023-09-21 04:33:27 +00:00
|
|
|
import { defineConfig } from "astro/config";
|
|
|
|
import tailwind from "@astrojs/tailwind";
|
|
|
|
import react from "@astrojs/react";
|
|
|
|
import remarkToc from "remark-toc";
|
|
|
|
import remarkCollapse from "remark-collapse";
|
|
|
|
import sitemap from "@astrojs/sitemap";
|
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
export default defineConfig({
|
2023-10-18 00:28:10 +00:00
|
|
|
site: "https://watzon.tech/", // replace this with your deployed domain
|
2023-09-21 04:33:27 +00:00
|
|
|
integrations: [
|
|
|
|
tailwind({
|
|
|
|
config: {
|
|
|
|
applyBaseStyles: false,
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
react(),
|
|
|
|
sitemap(),
|
|
|
|
],
|
|
|
|
markdown: {
|
|
|
|
remarkPlugins: [
|
|
|
|
remarkToc,
|
|
|
|
[
|
|
|
|
remarkCollapse,
|
|
|
|
{
|
|
|
|
test: "Table of contents",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
shikiConfig: {
|
|
|
|
theme: "one-dark-pro",
|
|
|
|
wrap: true,
|
|
|
|
},
|
|
|
|
extendDefaultPlugins: true,
|
|
|
|
},
|
|
|
|
vite: {
|
|
|
|
optimizeDeps: {
|
|
|
|
exclude: ["@resvg/resvg-js"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|