Babel standalone with preset example using esbuild

Safari

Playground

Usage

  • Run npm install
  • Run ./build.sh to generate a self-contained bundle.js that can execute in Safari or JSC.

Run an http server in the current directory and open index.html to see a live example.