extendscriptr
extendscriptr copied to clipboard
An NPM command line tool to compile modern javascript (es5 & es6) into executable extendscript (es3)
I usually use global variable call `arguments`, which is an array can be used for passing arguments to the jsx file when I execute a script from command line, but...
I was curious which ES5 and ES6 features are supported and which not. I also found this other project: https://github.com/fusepilot/babel-preset-extendscript Maybe you should work together :)
The current version doesn't have a polyfill for `Object.assign`, looks like it's using an older version of https://github.com/fabianmoronzirfas/extendscript.prototypes ? Maybe this will be addressed in #24?
It would be great to be able to watch a whole directory and compile all js/jsx files in that directory. Like other bundlers do and like it was requested in...
Now the program just returns the transpiled file if no output value has been given. This is useful when integrating this tool into gulp pipelines (in combination with gulp-exec).