mirror of
https://github.com/siyuan-note/plugin-sample-vite-svelte.git
synced 2025-06-07 18:46:01 +00:00
👷 ci: 优化 vite 配置
This commit is contained in:
parent
b31102d12f
commit
ec8d768d2d
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ export default defineConfig({
|
|||
// 在这里自定义变量
|
||||
define: {
|
||||
"process.env.DEV_MODE": `"${isWatch}"`,
|
||||
"process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV)
|
||||
},
|
||||
|
||||
build: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue