1 Star 0 Fork 38

木易杨/threejsAnimation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vite.config.ts 506 Bytes
一键复制 编辑 原始数据 按行查看 历史
绛河 提交于 2024-03-08 09:40 . 新的分支
// vite.config.js
import { resolve } from 'path'
import { defineConfig } from 'vite'
import topLevelAwait from 'vite-plugin-top-level-await'
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
city: resolve(__dirname, '城市/index.html'),
},
},
},
plugins: [topLevelAwait({
promiseExportName: '__tla',
promiseImportName: i => `__tla_${i}`
})],
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ytyjm_admin/threejs-animation.git
git@gitee.com:ytyjm_admin/threejs-animation.git
ytyjm_admin
threejs-animation
threejsAnimation
master

搜索帮助