angular-fullstack / generator-angular-fullstack

Yeoman generator for an Angular app with an Express server
https://awk34.gitbook.io/generator-angular-fullstack
6.12k stars 1.24k forks source link

Webpack disabled with gulp serve? #2539

Open benmarten opened 7 years ago

benmarten commented 7 years ago

Why is this commented? I had to uncomment it to make it work again with web pack...

https://github.com/angular-fullstack/generator-angular-fullstack/blob/master/templates/app/gulpfile.babel.js#L364

Awk34 commented 7 years ago

In the latest 4.x.x version, webpack is being run from the server: https://github.com/angular-fullstack/generator-angular-fullstack/blob/master/templates/app/server/config/express.js#L90-L136

Ideally we should find a way to backport the way it's done in canary to the 4.x.x versions: https://github.com/angular-fullstack/generator-angular-fullstack/blob/canary/templates/app/gulpfile.babel.js#L302