Skip to content

Commit

Permalink
Add UMD support for the browser (#191)
Browse files Browse the repository at this point in the history
Use browserify's --standalone option

Fixes #190
  • Loading branch information
RyanZim authored and TimothyGu committed Jul 15, 2016
1 parent f0fca1e commit 11c4e67
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Jakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ task('clean', ['clobber'], function () {
});

task('browserify', {async: true}, function () {
jake.exec('./node_modules/browserify/bin/cmd.js lib/ejs.js > ejs.js',
jake.exec('./node_modules/browserify/bin/cmd.js --standalone ejs lib/ejs.js > ejs.js',
buildOpts, function () {
console.log('Browserification completed.');
setTimeout(complete, 0);
Expand All @@ -42,5 +42,3 @@ publishTask('ejs', ['build'], function () {
, 'test/**'
]);
});


0 comments on commit 11c4e67

Please sign in to comment.