[Pkg-javascript-commits] [less.js] 245/285: Use Browserify's standalone option to wrap `dist/less` in UMD

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v2.0.0
in repository less.js.

commit 9b1330a57bc762d1d73a40c1ba97ffdc9fceb211
Author: Luke Page <luke.a.page at gmail.com>
Date:   Sat Nov 1 10:21:58 2014 +0000

    Use Browserify's standalone option to wrap `dist/less` in UMD
---
 Gruntfile.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Gruntfile.js b/Gruntfile.js
index 0958a51..a40aa6a 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -48,7 +48,10 @@ module.exports = function (grunt) {
             browser: {
                 src: ['./lib/less-browser/index.js'],
                 options: {
-                    alias: ["promise/polyfill.js:promise"]
+                    alias: ["promise/polyfill.js:promise"],
+                    browserifyOptions: {
+                        standalone: 'less-browser'
+                    }
                 },
                 dest: 'tmp/less.js'
             }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git



More information about the Pkg-javascript-commits mailing list