FountainJS / generator-fountain-webapp

Yeoman 'fountain' generator to start a webapp
http://fountainjs.io
MIT License
967 stars 67 forks source link

[Angular 1 JSPM] Is it possible to separate code in two bundles (app/vendor) #220

Open valepu opened 6 years ago

valepu commented 6 years ago

Greetings, I've been using your generator for quite some time now and I was wondering if it's possible to separate the generated code into two files, vendor (for files from jspm_packages folder) and app or index (for code from src/). I'm not an expert in configuring gulp, jspm etc... so i'm not sure how to do it

Implementing this to your repository could help reduce loading times when there are changes to the main code (which happen more frequently than changes in installed libraries) so that people will have to download only the index file if this changed while the vendor bundle will be cached