Skip to content

Commit

Permalink
chore(package.json): adds main entry to support CommonJS module loadi…
Browse files Browse the repository at this point in the history
…ng of transpiled es5 Router class

Closes angular#136
  • Loading branch information
Michael Wolbert authored and 0x-r4bbit committed Feb 28, 2015
1 parent fbcf852 commit 1ad4c8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require('./dist/router.es5');
module.exports = 'ngNewRouter';
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.4.0",
"description": "A new router for both Angular 1 and Angular 2",
"homepage": "https://github.com/angular/router",
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/angular/router.git"
Expand Down

0 comments on commit 1ad4c8c

Please sign in to comment.