1 Star 0 Fork 251

Ho0n/PrimarySchoolMathematics

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
vite.config.js 942 Bytes
Copy Edit Raw Blame History
J.sky authored 2023-05-22 19:31 . 打包部署GitHub
import path from "path";
import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
import {createHtmlPlugin} from "vite-plugin-html";
import {viteStaticCopy} from "vite-plugin-static-copy";
const srcPath = path.resolve(__dirname, 'src')
export default defineConfig({
server: {
port: 1101,
},
resolve: {
alias: {
'@/': `${srcPath}/`,
}
},
plugins: [
vue(),
createHtmlPlugin({
inject: {
data: {
title: '小学数学口算题 | Primary School Mathematics'
}
}
}),
viteStaticCopy({
silent: true,
targets: [
{
src: 'dist/*',
dest: path.resolve(__dirname, 'docs')
}
]
})
],
base:'./',
build: {
chunkSizeWarningLimit: 1500,
},
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/Ho0n/PrimarySchoolMathematics.git
git@gitee.com:Ho0n/PrimarySchoolMathematics.git
Ho0n
PrimarySchoolMathematics
PrimarySchoolMathematics
master

Search