astro.accords-library.com/astro.config.ts

26 lines
544 B
TypeScript
Raw Normal View History

2023-09-03 18:25:51 +00:00
import node from "@astrojs/node";
2023-09-04 20:17:28 +00:00
import icon from "astro-icon";
2023-09-03 18:25:51 +00:00
import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({
output: "server",
srcDir: "./src",
publicDir: "./public",
outDir: "./dist",
adapter: node({
mode: "standalone",
}),
2023-09-04 20:17:28 +00:00
integrations: [
icon({
include: {
"material-symbols": ["*"], // Loads entire Material Design Icon set
},
}),
],
2023-09-03 18:25:51 +00:00
server: {
port: import.meta.env.ASTRO_PORT,
host: import.meta.env.ASTRO_HOST,
},
});