webpack环境引入mana-syringe的问题 #366
Unanswered
jianghr-rr
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
这个文件里 node_modules/@antv/xflow-core/lib/index.js的第七行:
var ManaSyringe = tslib_1.__importStar(require("mana-syringe"));
require("mana-syringe")这个其实还是指到了ts文件里
我在webpack的alias配置'mana-syringe': join(context, 'node_modules/mana-syringe/dist/index.umd.js')来解决这个问题
问下这个需要三方库处理么 还是我webapck需要其他的配置
Beta Was this translation helpful? Give feedback.
All reactions