1 Star 0 Fork 38

老歪/PlayEdu学员PC界面

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts 344 Bytes
一键复制 编辑 原始数据 按行查看 历史
none 提交于 2023-03-24 15:14 . 更改默认的host和端口
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import gzipPlugin from "rollup-plugin-gzip";
// https://vitejs.dev/config/
export default defineConfig({
server: {
host: "0.0.0.0",
port: 9797,
},
plugins: [react()],
build: {
rollupOptions: {
plugins: [gzipPlugin()],
},
},
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/zhaoyoucai/frontend.git
[email protected]:zhaoyoucai/frontend.git
zhaoyoucai
frontend
PlayEdu学员PC界面
main

搜索帮助