bthallion / rollup-async

Async function demo for Ben Hallion.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rollup-async

Async function demo for Ben Hallion.

Why?

  • Rollup produces the best output (simplest necessary, no bloat).
  • Rollup is fast!
  • Rollup has treated me very well whereas I've had issues with other build tools.

Install

git clone git@github.com:sholladay/rollup-async.git &&
cd rollup-async &&
npm install

Usage

To see the demo, simply do: npm run demo. Rollup will compile modules with async functions and they will be run in the browser via a test page, which will open in your default browser.

The point here is to show that Rollup does not care whether the code uses async functions or not. And Rollup itself does not demand that you use Babel, though obviously browser support is a constraint.

Contributing

See our contributing guidelines for more details.

  1. Fork it.
  2. Make a feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

License

MPL-2.0 © Seth Holladay

Go make something, dang it.

About

Async function demo for Ben Hallion.

License:Mozilla Public License 2.0


Languages

Language:JavaScript 85.4%Language:HTML 14.6%