如何捆绑三平面动画师

问题描述

我想捆绑 https://github.com/MaciejWWojcik/three-plain-animator生成类似 plainAnimator.js 文件内容 所以在 main.js 中,我应该能够像这样导入它:

import { PlainAnimator } from "plainAnimator.js"

我试过浏览器: browserify node_modules/three-plain-animator/lib/plain-animator.js -o plainAnimator.js

当我使用脚本标记但导入不起作用时,它会生成包并起作用

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)