1.0.5 • Published 9 years ago

pruno-js v1.0.5

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

pruno-js

A lightweight module that builds JavaScripts with Browserify. Handles React and ES6 transformations as well as uglify and source-maps.

Usage

"use strict";

var pruno = require('pruno');

pruno.plugins(function(mix) {
    mix
      .configure({ dir: __dirname + '/config' })
      .js({
        entry: '::src/index.js',
        dist: '::dist/bundle.js',
        es6: true,
        uglify: false,
        'source-maps': true
      });
});