chore(deps): update deps
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
import { defineConfig } from "astro/config";
|
||||
|
||||
import node from "@astrojs/node";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import sitemap from '@astrojs/sitemap';
|
||||
import starlight from "@astrojs/starlight";
|
||||
import starlightThemeRapide from 'starlight-theme-rapide'
|
||||
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
const getSiteURL = () => {
|
||||
if (process.env.SITE_URL) {
|
||||
return `https://${process.env.SITE_URL}`;
|
||||
@@ -13,12 +15,15 @@ const getSiteURL = () => {
|
||||
return "http://localhost:4321";
|
||||
};
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: getSiteURL(),
|
||||
|
||||
security: { csp: true },
|
||||
|
||||
prefetch: true,
|
||||
|
||||
integrations: [
|
||||
tailwindcss(),
|
||||
sitemap(),
|
||||
starlight({
|
||||
title: "Alex Lebens Docs",
|
||||
customCss: [
|
||||
@@ -51,15 +56,21 @@ export default defineConfig({
|
||||
}),
|
||||
],
|
||||
|
||||
markdown: {
|
||||
syntaxHighlight: false,
|
||||
},
|
||||
|
||||
plugins: {
|
||||
"@tailwindcss/postcss": {},
|
||||
'@tailwindcss/postcss': {},
|
||||
},
|
||||
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
|
||||
output: 'static',
|
||||
|
||||
adapter: node({
|
||||
mode: "standalone",
|
||||
mode: 'standalone',
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user