daniel-lewis-ab / litegraph.js

A graph node engine and editor written in Javascript similar to PD or UDK Blueprints, comes with its own editor in HTML5 Canvas2D. The engine can run client side or server side using Node. It allows to export graphs as JSONs to be included in applications independently.
MIT License
11 stars 2 forks source link

fix #17, the path for uglifyjs #18

Closed liusida closed 1 month ago

liusida commented 1 month ago

use local uglifyjs, and be aware of Windows:

uglifyjs_path = os.path.join(".", "node_modules", ".bin", "uglifyjs" + (".cmd" if sys.platform.startswith('win') else ""))