1 Star 0 Fork 29

great-xianmeng/PlayEdu学员H5界面

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vite.config.ts 559 Bytes
一键复制 编辑 原始数据 按行查看 历史
xxx 提交于 2023-09-20 10:23 . 兼容安卓钉钉
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import gzipPlugin from "rollup-plugin-gzip";
import legacy from "@vitejs/plugin-legacy";
// https://vitejs.dev/config/
export default defineConfig({
server: {
host: "0.0.0.0",
},
plugins: [
react(),
legacy({
targets: ["chrome 52"],
additionalLegacyPolyfills: ["regenerator-runtime/runtime"],
renderLegacyChunks: true,
modernPolyfills: true,
}),
],
build: {
rollupOptions: {
plugins: [gzipPlugin()],
},
},
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/great-xianmeng/h5.git
git@gitee.com:great-xianmeng/h5.git
great-xianmeng
h5
PlayEdu学员H5界面
main

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385