Skip to content

Instantly share code, notes, and snippets.

@cognitom
Created July 11, 2014 05:42
Show Gist options
  • Select an option

  • Save cognitom/99a0f4bbf4ca4615be5c to your computer and use it in GitHub Desktop.

Select an option

Save cognitom/99a0f4bbf4ca4615be5c to your computer and use it in GitHub Desktop.
Angular with Browserify-shim
{
"browserify": {
"transform": [
"coffeeify",
"browserify-shim"
]
},
"browser": {
"jquery": "./bower_components/jquery/dist/jquery.js",
"angular": "./bower_components/angular/angular.js",
"angular-sanitize": "./bower_components/angular-sanitize/angular-sanitize.js"
},
"browserify-shim": {
"jquery": {
"exports": "$"
},
"angular": {
"exports": "angular",
"depends": "jquery"
},
"angular-sanitize": {
"exports": "null",
"depends": "angular"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment