[Pkg-javascript-commits] [less.js] 244/285: create index and browser scripts in root as require targets

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 1b3b742fa8798026690c4a171ce9054b6adabb88
Author: jackwanders <jack at webs.com>
Date:   Fri Oct 31 09:16:40 2014 -0400

    create index and browser scripts in root as require targets
---
 browser.js   | 1 +
 index.js     | 1 +
 package.json | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/browser.js b/browser.js
new file mode 100644
index 0000000..97bc191
--- /dev/null
+++ b/browser.js
@@ -0,0 +1 @@
+module.exports = require('./lib/less-browser/index');
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..fcc8aac
--- /dev/null
+++ b/index.js
@@ -0,0 +1 @@
+module.exports = require('./lib/less-node/index');
diff --git a/package.json b/package.json
index 52216a6..25a0abc 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
   "bin": {
     "lessc": "./bin/lessc"
   },
-  "main": "./lib/less-node/index",
+  "main": "index",
   "directories": {
     "test": "./test"
   },

-- 
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