41 lines
852 B
JavaScript
41 lines
852 B
JavaScript
// @ts-check
|
|
import { defineConfig } from "astro/config";
|
|
import path from "path";
|
|
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
import icon from "astro-icon";
|
|
|
|
import mdx from "@astrojs/mdx";
|
|
|
|
import sitemap from "@astrojs/sitemap";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve("./src"),
|
|
"@layouts": path.resolve("./src/layouts"),
|
|
"@components": path.resolve("./src/components"),
|
|
"@assets": path.resolve("./src/assets"),
|
|
"@lib": path.resolve("./src/lib"),
|
|
"@data": path.resolve("./src/data")
|
|
}
|
|
}
|
|
},
|
|
|
|
integrations: [icon(), mdx(), sitemap()],
|
|
|
|
site: "https://www.nathancummins.com.au",
|
|
|
|
trailingSlash: "always",
|
|
|
|
image: {
|
|
responsiveStyles: false
|
|
},
|
|
|
|
output: "static"
|
|
});
|