jgoux / generator-angulpify

Yeoman generator involving AngularJS, Gulp and Browserify
138 stars 21 forks source link

gulp-browserify and commonjs #16

Closed nelsonomuto closed 9 years ago

nelsonomuto commented 9 years ago

It would be a great added benefit to actually use the commonjs module pattern and include gulp-browserify and demo how to integrate that with angular.

jgoux commented 9 years ago

Hello @nelsonomuto , the demo app structure generated when you initialize the project shows an example of how you can use the require() to integrate with Angular. Browserify is already used in the project, it bundles your source files all together when you launch gulp or you modify a file. gulp-browserify is black listed btw : https://github.com/deepak1556/gulp-browserify#note-this-plugin-has-been-blacklisted

I agree that I should write more doc explaning in detail how all the files / structure are tied together. I'll work on it when I'll have more time. Thanks for your suggestion.

nelsonomuto commented 9 years ago

Ok, have you looked at https://www.npmjs.org/package/gulp-browserify-thin/

This seems to support the same function as gulp-browserify and is not blacklisted.

jgoux commented 9 years ago

I'm closing this issue as browserify integrates well with gulp without extra dependencies.