Skip to content

Commit

Permalink
Merge pull request #2277 from jackwanders/browser-less-as-npm-target
Browse files Browse the repository at this point in the history
create index and browser scripts in root as require targets
  • Loading branch information
lukeapage committed Nov 9, 2014
2 parents 00d7ec1 + 1b3b742 commit b375b20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions browser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./lib/less-browser/index');
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./lib/less-node/index');
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"bin": {
"lessc": "./bin/lessc"
},
"main": "./lib/less-node/index",
"main": "index",
"directories": {
"test": "./test"
},
Expand Down

0 comments on commit b375b20

Please sign in to comment.