SIGN IN SIGN UP

Add Node ESM Loader and Register Entrypoints (#20274)

* Add Node ESM loader build

This adds a loader build as a first-class export. This will grow in
complexity so it deserves its own module.

* Add Node CommonJS regiter build

This adds a build as a first-class export for legacy CommonJS registration
in Node.js. This will grow in complexity so it deserves its own module.

* Simplify fixture a bit to easier show usage with or without esm

* Bump es version

We leave async function in here which are newer than ES2015.
S
Sebastian Markbåge committed
82e99e1b027636fd55937a3b5633064cbcb2ffe1
Parent: bf7b7ae
Committed by GitHub <noreply@github.com> on 11/17/2020, 4:46:27 AM