iVis-at-Bilkent / cytoscape.js-grid-guide

A Cytsocape.js extension to provide a framework for grid interactions such as grid lines and snapping to grid, and guidelines and snap support for alignment of nodes.
MIT License
59 stars 9 forks source link

Meet UglifyJs error while building my web code #30

Closed bofortitude closed 6 years ago

bofortitude commented 6 years ago

Have you ever made some uglifyjs related plugins config in your code?

I tried to compile my web code, but met the error:

ERROR in static/js/vendor.c2fa7ee7f34202a87f40.js from UglifyJs Unexpected token name «of», expected punc «;» [./node_modules/cytoscape-grid-guide/src/guidelines.js:248,0][static/js/vendor.c2fa7ee7f34202a87f40.js:74852,13]

Build failed with errors.

npm ERR! code ELIFECYCLE

kinimesi commented 6 years ago

@bofortitude for...of statement is replaced in release v2.1.1, the issue should be resolved, can you verify and close?