From 11c4e672b56ec3916171e6121eb030b7bc2c1ce0 Mon Sep 17 00:00:00 2001 From: Ryan Zimmerman Date: Thu, 14 Jul 2016 20:30:37 -0400 Subject: [PATCH] Add UMD support for the browser (#191) Use browserify's --standalone option Fixes #190 --- Jakefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jakefile b/Jakefile index 28defba7..3789eee5 100644 --- a/Jakefile +++ b/Jakefile @@ -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); @@ -42,5 +42,3 @@ publishTask('ejs', ['build'], function () { , 'test/**' ]); }); - -