0.0.1 • Published 6 years ago

webpuck v0.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

webpuck

NPM version NPM downloads CircleCI donate chat

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

  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

0.0.1

6 years ago

0.0.0

6 years ago