This commit is contained in:
Zyronon
2025-11-05 01:59:13 +08:00
parent 876d02f402
commit ca71d98dc8
8 changed files with 5231 additions and 4355 deletions

View File

@@ -79,6 +79,9 @@ export default defineConfig(() => {
],
build: {
rollupOptions: {
input: {
app: 'app.html' // 默认入口
},
// 因为已经把包复制过来了里面的axios实例用的项目的所以这行代码可以不要了
// external: isCdnBuild ? ['axios'] : [],// 使用全局的 axios。因为百度翻译库内部用了0.19版本的axios会被打包到代码里面
output: {