maybe it's not that hard (proof of concept)
MIT License
It's not that hard...
yarn add webpuck --dev
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 === 'production') {
app.extends('uglify')
}
module.exports = app.getConfig()
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
webpuck © egoist, Released under the MIT License. Authored and maintained by egoist with help from contributors (list).
github.com/egoist · GitHub @egoist · Twitter @_egoistlily