mirror of
https://github.com/xHyroM/links.git
synced 2024-11-10 02:28:06 +01:00
32 lines
609 B
TypeScript
32 lines
609 B
TypeScript
import { defineConfig } from 'astro/config';
|
|
|
|
import tailwind from '@astrojs/tailwind';
|
|
import sitemap from '@astrojs/sitemap';
|
|
import image from '@astrojs/image';
|
|
import vercel from '@astrojs/vercel/static';
|
|
import compress from 'astro-compress';
|
|
|
|
import { SITE } from './src/config';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: SITE.url,
|
|
base: '/',
|
|
trailingSlash: 'never',
|
|
output: 'static',
|
|
integrations: [
|
|
tailwind(),
|
|
sitemap(),
|
|
image(),
|
|
compress({
|
|
css: true,
|
|
html: true,
|
|
img: false,
|
|
js: true,
|
|
svg: false,
|
|
|
|
logger: 1,
|
|
}),
|
|
],
|
|
adapter: vercel(),
|
|
});
|