1 Star 0 Fork 37

温宇鸣/eSearch

forked from xsf-root/eSearch 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
electron.vite.config.ts 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
xsf-root 提交于 2024-08-08 12:05 . 代码 添加sourcemap
import { defineConfig } from "electron-vite";
import * as path from "node:path";
export default defineConfig({
main: {
build: {
minify: "esbuild",
},
},
renderer: {
build: {
rollupOptions: {
input: {
editor: path.resolve(__dirname, "src/renderer/editor.html"),
clip: path.resolve(__dirname, "src/renderer/capture.html"),
setting: path.resolve(
__dirname,
"src/renderer/setting.html",
),
ding: path.resolve(__dirname, "src/renderer/ding.html"),
recorder: path.resolve(
__dirname,
"src/renderer/recorder.html",
),
recorderTip: path.resolve(
__dirname,
"src/renderer/recorderTip.html",
),
browser_bg: path.resolve(
__dirname,
"src/renderer/browser_bg.html",
),
translator: path.resolve(
__dirname,
"src/renderer/translator.html",
),
translate: path.resolve(
__dirname,
"src/renderer/translate.html",
),
},
},
assetsInlineLimit: 0,
minify: "esbuild",
sourcemap: true,
},
},
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/wenyuming/eSearch.git
git@gitee.com:wenyuming/eSearch.git
wenyuming
eSearch
eSearch
master

搜索帮助