1 Star 0 Fork 256

weisuoguozili/前端数据可视化

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
vite.config.js 548 Bytes
Copy Edit Raw Blame History
德育处主任 authored 2021-09-23 22:40 . 修改打包资源大小
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const { resolve } = require('path')
// https://vitejs.dev/config/
export default defineConfig({
base: '/front-end-data-visualization/', // 部署到码云的仓库名,部署时用到
plugins: [vue()],
server: { // https://cn.vitejs.dev/config/#server-options
host: '0.0.0.0'
},
resolve: {
alias: [{ find: '@', replacement: resolve(__dirname, 'src') }] // https://cn.vitejs.dev/config/#resolve-alias
},
build: {
chunkSizeWarningLimit: 5000
}
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/weisuoguozili/front-end-data-visualization.git
git@gitee.com:weisuoguozili/front-end-data-visualization.git
weisuoguozili
front-end-data-visualization
前端数据可视化
master

Search