webpuck

maybe it's not that hard (proof of concept)

MIT License

Downloads
7
Stars
2

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 === 'production') {
  app.extends('uglify')
}

module.exports = app.getConfig() 

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. 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