New Generation Build System
About | Usage | Documentation | Plugins | Contributing
Fly is a modern build system for Node based in co-routines, generators and promises.
Fly has callback heaven, concurrent tasks, robust error handling, cascading tasks and a simple API.
See the documentation to learn more about Fly.
npm install fly
const paths = {
scripts: ["src/**/*.js", "!src/ignore/**/*.js"]
}
export default function* () {
this.watch([paths.scripts], ["scripts"])
}
export function* scripts () {
yield this.clear("build")
yield this
.source(paths.scripts)
.babel({ stage: 0 })
.uglify()
.concat("all.min.js")
.target("build/js")
}
Contributions are absolutely welcome. Check out our contribution guide.
MIT © Jorge Bucaran et al ❤️