mirror of
https://github.com/halo-dev/theme-earth.git
synced 2025-11-29 02:00:10 +08:00
feat: preliminary completion of index page and post page
Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import { defineConfig } from "vite";
|
||||
import { fileURLToPath } from "url";
|
||||
import path from "path";
|
||||
import PurgeIcons from "vite-plugin-purge-icons";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [PurgeIcons()],
|
||||
build: {
|
||||
outDir: fileURLToPath(new URL("./templates/assets/dist", import.meta.url)),
|
||||
emptyOutDir: true,
|
||||
|
||||
Reference in New Issue
Block a user