fix: modern compiler for scss

This commit is contained in:
Julien Calixte
2026-02-27 20:37:04 +01:00
parent 01f8c57d03
commit ac74a2bbca
2 changed files with 12 additions and 4 deletions

View File

@@ -3,20 +3,29 @@ import prism from "@islands/prism"
import pwa from "@islands/pwa"
export default defineConfig({
siteUrl: "https://juliencalixte.eu",
siteUrl: "https://apoena.dev",
vue: {
script: {
defineModel: true,
},
},
vite: {
css: {
preprocessorOptions: {
scss: {
api: "modern-compiler",
},
},
},
},
modules: [
"@islands/headings",
prism(),
pwa({
includeAssets: ["favicon.ico", "apple-touch-icon.png", "masked-icon.svg"],
manifest: {
name: "Julien Calixte",
short_name: "julienc",
name: "Apoena.dev",
short_name: "apoenadev",
description: "Julien Calixte's blog",
theme_color: "#fda7df",
icons: [