1 Star 0 Fork 178

渤海之上皓月当空/light-chaser

forked from 大古/light-chaser 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.dev.config.ts 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
大古 提交于 2025-03-23 12:13 +08:00 . 增加版权声明
/*
* Copyright © 2023-2025 puyinzhen
* All rights reserved.
*
* The copyright of this work (or idea/project/document) is owned by puyinzhen. Without explicit written permission, no part of this work may be reproduced, distributed, or modified in any form for commercial purposes.
*
* This copyright statement applies to, but is not limited to: concept descriptions, design documents, source code, images, presentation files, and any related content.
*
* For permission to use this work or any part of it, please contact 1182810784@qq.com to obtain written authorization.
*/
import {defineConfig} from 'vite'
// https://vitejs.dev/config/
export default defineConfig({
server: {
proxy: {
'^/(api|static)/.*': {
target: 'http://127.0.0.1:8080',
changeOrigin: true,
}
}
},
css: {
preprocessorOptions: {
//对css预处理器默认配置的覆盖
},
devSourcemap: true,
postcss: {}
},
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/mymvp/light-chaser.git
git@gitee.com:mymvp/light-chaser.git
mymvp
light-chaser
light-chaser
master

搜索帮助