+
-
+
-
+
diff --git a/templates/post.html b/templates/post.html
index c4d2a4b..b999c06 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -130,7 +130,7 @@
diff --git a/vite.config.ts b/vite.config.ts
index 0c037ab..7041711 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -1,9 +1,11 @@
import { defineConfig } from "vite";
-import { fileURLToPath } from "url";
-import path from "path";
+import { fileURLToPath } from "node:url";
+import path from "node:path";
export default defineConfig({
- plugins: [],
+ experimental: {
+ enableNativePlugin: true,
+ },
build: {
outDir: fileURLToPath(new URL("./templates/assets/dist", import.meta.url)),
emptyOutDir: true,
@@ -12,13 +14,7 @@ export default defineConfig({
name: "main",
fileName: "main",
formats: ["iife"],
- },
- },
- css: {
- preprocessorOptions: {
- scss: {
- api: "modern-compiler",
- },
+ cssFileName: "style",
},
},
});