0.0.1 • Published 6 years ago
webpuck v0.0.1
webpuck
It's not that hard...
Install
yarn add webpuck --dev
Usage
In your webpack.config.js
:
const app = webpuck()
app.src('src/index.js')
app.asset('src/**/*.js', 'babel-loader')
app.dest('dist/main.js')
// Production optimizations
if (process.env.NODE_ENV === true) {
app.extends('uglify')
}
module.exports = app.getConfig()
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
webpuck © egoist, Released under the MIT License. Authored and maintained by egoist with help from contributors (list).
github.com/egoist · GitHub @egoist · Twitter @_egoistlily