1 Star 0 Fork 12

洋Boy/theme-earth

forked from Halo/theme-earth 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts 511 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ryan Wang 提交于 2024-11-16 11:11 . chore: bump dependencies (#211)
import { defineConfig } from "vite";
import { fileURLToPath } from "url";
import path from "path";
export default defineConfig({
plugins: [],
build: {
outDir: fileURLToPath(new URL("./templates/assets/dist", import.meta.url)),
emptyOutDir: true,
lib: {
entry: path.resolve(__dirname, "src/main.ts"),
name: "main",
fileName: "main",
formats: ["iife"],
},
},
css: {
preprocessorOptions: {
scss: {
api: "modern-compiler",
},
},
},
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yang101/theme-earth.git
git@gitee.com:yang101/theme-earth.git
yang101
theme-earth
theme-earth
main

搜索帮助