reactiverse / es4x

🚀 fast JavaScript 4 Eclipse Vert.x
https://reactiverse.io/es4x/
Apache License 2.0
884 stars 75 forks source link

(feat) decouple polyfill load from script execution #395

Open frank-dspeed opened 4 years ago

frank-dspeed commented 4 years ago

This should be a minimal wrapper to allow JAVA=>JS interop

As much logic as possible should be handle able inside the JS part like the load of the polyfills

there should be only the ESM Context that can it self easy shim CJS when needed via JS Methods that allows overall better maintance at present this is blocked by the fact that this defaults to the npm-js loader i need to experiment with the -Desm switch that should exist as far as i found out.

frank-dspeed commented 4 years ago

https://github.com/reactiverse/es4x/tree/graal-require