Closed mikkoh closed 8 years ago
It might be nicer to create a separate module that shims in modern features for After Effects scripts.
This module should check though if those shims are in place and throw errors if they are not so it might be nicer to do a check features function instead and suggest people use the shim module.
@bunnybones1 you did a lot of work around this. Would you be interested in helping out?
I've instead opted to document how people can shim in es5 and JSON.
dist/index.js
does shim in the above.
JSX does't support all modern features of Javascript.
Therefore you have to shim in many features such as functional programming methods, etc.
It would be nice to add the bare minimum to shim in features needed and remove dependency on build script to
after-effects
module.