0.1.3 • Published 8 years ago

standalonify v0.1.3

Weekly downloads
8
License
MIT
Repository
github
Last release
8 years ago

standalonify

A Browserify plugin to make standalone UMD bundles. This is a fork of dependify.

Installation

npm install -save standalonify

Usage

var browserify = require('browserify');
var standalonify = require('standalonify');

browserify({
  entries: 'your entry file'
}).plugin(standalonify, {
  name: 'moduleName',  //or set such as "['moduleName1', 'moduleName2']", can set more than one module name.
  deps: {
    'react': 'React',  // require('react') will use AMD's and CommonJS's require('react') or the React global object.
    'react-dom': 'ReactDOM'
  },
  hasAmdDeps: true  //If set to false will not generate amd dependency.
});

License

MIT

0.1.4-pre.1

6 years ago

0.1.3

8 years ago

0.1.3-rc.3

8 years ago

0.1.3-rc.2

8 years ago

0.1.3-rc.1

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.1-rc2

8 years ago

0.1.1-rc1

8 years ago

0.1.0

8 years ago

0.1.0-rc1

8 years ago