mcfly-io / generator-mcfly

A Yeoman generator for scaffolding an application using angular, browserify, ionic and famous
323 stars 43 forks source link

Add option to prevent the rewrite of all modules imports in the main-*.js #246

Closed ghaiat closed 9 years ago

ghaiat commented 9 years ago

When you work with multiple targets and you create a new module, you dont want mcfly to automatically includes all modules for all projects....

jskrzypek commented 9 years ago

This is happening when you add a new module or a new target?

ghaiat commented 9 years ago

a new module, i didnt check for a new target

jskrzypek commented 9 years ago

Hmm, ok that makes sense... there might even be a flag to prevent the auto-injection already. I'm just looking at #245 so I'll take a look

jskrzypek commented 9 years ago

Ok I'm adding a --skip-inject-modules flag to yo mcfly:target and yo mcfly:module.

ghaiat commented 9 years ago

nice