mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-24 15:55:06 +08:00
1. 忽略 VITE_CJS_IGNORE_WARNING 告警
2. 忽略 @unocss/order 和 @unocss/order-attributify 告警 3. 修复 https 配置项的告警
This commit is contained in:
@ -25,10 +25,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
||||
root: root,
|
||||
// 服务端渲染
|
||||
server: {
|
||||
// 是否开启 https
|
||||
https: false,
|
||||
// 端口号
|
||||
port: env.VITE_PORT,
|
||||
port: env.VITE_PORT, // 端口号
|
||||
host: "0.0.0.0",
|
||||
open: env.VITE_OPEN === 'true',
|
||||
// 本地跨域代理. 目前注释的原因:暂时没有用途,server 端已经支持跨域
|
||||
|
Reference in New Issue
Block a user