This repository has been archived on 2026-05-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Web-Dev-Lesson-Test/00-Lesson-Site/frontend/astro.config.mjs
MangoPig 4bb4b0ca3a Fixed?
2025-12-09 17:33:38 +00:00

32 lines
717 B
JavaScript

// @ts-check
import mdx from "@astrojs/mdx";
import solidJs from "@astrojs/solid-js";
import expressiveCode from "astro-expressive-code";
import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({
integrations: [
solidJs(),
expressiveCode({
themes: ["vitesse-dark"],
}),
mdx(),
],
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: `@use "/src/styles/global_vars" as *; \n @use "/src/styles/reset" as *; \n @use "/src/styles/global_fonts" as *; \n`,
},
},
},
server: {
host: true,
port: 4321,
strictPort: true,
allowedHosts: ["leafpig.mangopig.tech"], //Remember to add domain here if deploying
},
},
});