Closed mohitt closed 7 years ago
gulp serve
serve files from both .tmp folder and src folder, simply create the folders you need directly inside the src folder.
when you gulp build
, those files are copied to dist folder.
not if is used images in the css, the structure changes and not pointing to the images... also I create a folder with static jsons and not being copied to the dist I think the generator is very nice but taken out the image optimization is a big mistake http://fountainjs.io/gulp-angular/how-it-works/#images
Would be great to have this feature as optional.
Sorry but... We try to keep the generated projects as simple as possible. I don't think creating empty directory to indicate where to put assets is needed. Just put them where you want.
Having like optional is not having empty folder, and just putting a folder with images anywhere is not going to work in production. I think if the generator intent to be a general solution for projects, even small projects will have images, like css or JS all assets must be considerate in a multi propose generator.
On Nov 5, 2016 7:20 AM, "Matthieu Lux" notifications@github.com wrote:
Closed #62 https://github.com/FountainJS/generator-fountain-angular1/issues/62.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FountainJS/generator-fountain-angular1/issues/62#event-848754234, or mute the thread https://github.com/notifications/unsubscribe-auth/ABS5DeJb8fo3iCZU_e4KMgBtT82RL064ks5q7EpfgaJpZM4JwIyI .
https://github.com/Swiip/generator-gulp-angular
had assets/images ,
when you are not using any module loader and using only bower