Closed zhangxinyong12 closed 1 year ago
cd node_modules/@tweenjs/tween.js && pnpm build
Not very clear what the issue is. It is better if you show some code.
If you are writing something like
import ... from "@tweenjs/tween.js/dist"
then try this instead like @mk965 hinted:
import ... from "@tweenjs/tween.js"
Note, try the new version 21.0.0. import ... from "@tweenjs/tween.js"
should work with all modern tools now.
Please re-open if you have more info and it still doesn't work.
You should import like this: