node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

pruno-js

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
      });
});