Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 79586aa

Browse files
committed
refactor(commonjs): add support for npm and commonjs
Added ui.select to module exports so that after installing via npm, the package can be required in the angular module dependency list such as: angular.module('myApp', [require('angular-ui-select')]); This is helpful for Browserify and Webpack. Closes #1176 #1148 #692
1 parent 4872def commit 79586aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ui-select",
3-
"main": "dist/select.js",
3+
"main": "./index.js",
44
"author": "http://github.com/angular-ui/ui-select/graphs/contributors",
55
"homepage": "http://github.com/angular-ui/ui-select",
66
"repository": {

0 commit comments

Comments
 (0)