pruno-js

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i pruno-js

Weekly Downloads

6

Version

1.0.5

License

ISC

Last publish

Collaborators

  • cdebotton