hopp
v1.2.6
Published
Rapid & lightweight build system.
Downloads
47
Maintainers
Readme
Usage
For all information regarding how to setup hopp, how to use plugins, & how to make plugins, checkout our official docs.
Why hopp?
- Ridiculously fast. It was the reason we originally built hopp. We realized how much time was being wasted waiting for builds to finish. We also realized that all build tools claim to be the fastest. So we first developed benchmarks to verify the performance of build tools under various conditions over at buildjs-benchmarks. We use these benchmarks to continuously test the performance of hopp as we add and remove features.
- Super magical. This is an opinion-based issue but many developers shy away from automation and say it is too magical. hopp does things a bit differently. We try to wave magic wands and say abracadabra whenever possible. Like autoloading plugins & managing bundling.
- Built to scale. Though the performance issues of other build tools is a bit painful, it really affects the build process of really large projects. hopp was built to perform well not just for smaller projects but also for large projects that their tools to perform at scale.
Example
Sample hoppfile.js
:
You will need to install the proper plugins & presets to use this file.
import hopp from 'hopp'
export const less =
hopp([ 'src/less/**/*.less' ])
.less()
.dest('dist/css')
export const js =
hopp([ 'src/js/**/*.js' ])
.babel()
.concat()
.dest()
export const watch = hopp.watch([
'less',
'css'
])
export default hopp.all([
'less',
'css'
])
Contributing
We love contributors! After all, this is an open source project.
To get started, checkout our contribution guide.
When reporting issues, please try to follow the provided template and
upload a proper hopp-debug.log
file to accompany your bug report.
License
Copyright (C) 2017 10244872 Canada Inc.
Licensed under MIT license.