angular-ui/ui-validate

is there a browserify way to use this library ?

jlguenego opened this issue · 1 comments

is there a browserify way to use this library ?

I think currently the only way to use it with browserify is by using browserify-shim:

package.json:

"browser": {
 "angular-ui-validate": "./node_modules/angular-ui-validate/dist/validate.js"
},

"browserify-shim": {
    "angular-ui-validate": {
      "exports": "angular.module('ui.validate').name"
    }
},

"browserify": {
    "transform": [
      "browserify-shim"
    ]
}