g6 4.8版本升级到g6 @5.0.0-beta.21版本 出现loader无法解析指定文件的报错 #5089
-
error in ./node_modules/@antv/graphlib/esm/graph.js Module parse failed: Unexpected token (5:12)
| edgeMap = new Map(); @ ./node_modules/@antv/graphlib/esm/index.js 2:0-24 2:0-24 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
根据错误信息,应该是你的构建工具缺少必要的 loader 导致的 |
Beta Was this translation helpful? Give feedback.
-
so,do i need what kind of loader |
Beta Was this translation helpful? Give feedback.
根据错误信息,应该是你的构建工具缺少必要的 loader 导致的