-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathastro.config.mjs
More file actions
29 lines (27 loc) · 830 Bytes
/
astro.config.mjs
File metadata and controls
29 lines (27 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
import solid from '@astrojs/solid-js';
import sitemap from '@astrojs/sitemap';
import webmanifest from 'astro-webmanifest';
import manifestOptions from './config/webmanifest.mjs';
// https://astro.build/config
export default defineConfig({
site: process.env.SITE_DOMAIN,
output: 'static',
build: {
// Generate an HTML file for each page.
// Astro.url.pathname will include the .html extension in this case.
format: 'file',
// Directory name of the Astro generated assets (JS and CSS).
assets: 'app',
},
integrations: [
solid(),
tailwind({
// Disable injecting a basic `base.css` import on every page.
applyBaseStyles: false,
}),
sitemap(),
webmanifest(manifestOptions),
],
});