antvis/G6

Parcel with g6: Unexpected token, expected "," #2332

Madeorsk posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

Edit on CodeSandbox

Steps to reproduce

Install parcel-bundler (yarn global add parcel-bundler for example), then do yarn build on the example repository. It will fail.

Environment Info
g6 4.0.0
System -
Browser -

I cannot add g6 to a project where I use parcel. Is it a problem of parcel or g6?

🚨  /home/madeorsk/[...]/js/app/node_modules/@antv/g6/dist/g6.min.js:29:1503348: Unexpected token, expected "," (29:1503348)

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help. 这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests