forked from kobe-koto/EdgeSub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.ts
More file actions
32 lines (29 loc) · 735 Bytes
/
Copy pathastro.config.ts
File metadata and controls
32 lines (29 loc) · 735 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
30
31
32
import { defineConfig } from "astro/config";
// astro integrations
import compress from "astro-compress";
import icon from "astro-icon";
// vite plugins
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
prefetch: true,
integrations: [
compress(),
icon(),
],
vite: {
css: {
preprocessorOptions: {
scss: {
api: "modern-compiler"
}
}
},
plugins: [
tailwindcss(),
],
// log dropping not enabled by default cuz this project will never be production ready lol
// esbuild: {
// drop: ["console", "debugger"],
// },
},
});