1.2.8 • Published 4 years ago

deumdify v1.2.8

Weekly downloads
40
License
MIT
Repository
github
Last release
4 years ago

deUMDify

Version npmBuild StatusDependenciesCoverage StatusIRC channel

This module is a Browserify plugin that will expose a standalone bundle as a property of the global object omitting AMD and CommonJS support. The reason for this plugin is that Browserify does not give the ability to generate a standalone bundle without a UMD wrapper.

Install

npm install --save deumdify

Usage

Command Line

browserify main.js -s Foo -p deumdify > bundle.js

API

Register the plugin.

'use strict';

var browserify = require('browserify')
  , deumdify = require('deumdify')
  , fs = require('fs');

var b = browserify({ entries: [ 'main.js' ], standalone: 'Foo' });
b.plugin(deumdify);

b.bundle().pipe(fs.createWriteStream('bundle.js'));

And that's it.

License

MIT

1.2.8

4 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

7 years ago

1.2.3

8 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.2

10 years ago

0.0.1

10 years ago