fly-esnext
Allows a
flyfile.js
to be written with new-age ES6 or ES7 syntax.
Install
npm install --save-dev fly-esnext
That's it! 🎉 You've now enabled async
/await
syntax for your flyfile.js
!
Note: This will NOT compile your ES6 files into ES5. You must download and setup fly-babel for that.
Usage
A flyfile.js
may also include require()
statements (not shown).
// flyfile.js { await thissource'src/*.js' // etc...} { await thissource'src/*.js' // etc...} { await thissourceobjval || 'src/*.sass' // etc...}
License
MIT © Luke Edwards