Demonstrate @babel/preset-env with ESModules targetting
With the release of Babel 7 one can now specifically target devices supporting ESModules.
This example shows how one can apply the technique.
- Clone this repo.
yarnto install dependencies.
yarn startto startup a localhost:3000 server with a sample page.