1 Star 0 Fork 1

Ronn/json2excel

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vite.config.js 883 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ronn 提交于 2022-04-15 09:56 . fix add vite config
import { defineConfig } from 'vite' // 使用 defineConfig 帮手函数,这样不用 jsdoc 注解也可以获取类型提示
export default ({ command, mode }) => {
return defineConfig({
server: {
port: 9000, // 本地服务端口
open: true, //在服务器启动时自动在浏览器中打开应用程序。当此值为字符串时,会被用作 URL 的路径名。
strictPort: true, // 设为 true 时若端口已被占用则会直接退出,而不是尝试下一个可用端口
},
// 打包配置
build: {
target: 'modules',
outDir: 'dist', //指定输出路径
assetsDir: 'assets', // 指定生成静态资源的存放路径
minify: 'terser', // 混淆器,terser构建后文件体积更小
chunkSizeWarningLimit: 500000
}
})
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ronn97/json2excel.git
[email protected]:ronn97/json2excel.git
ronn97
json2excel
json2excel
master

搜索帮助