-
Notifications
You must be signed in to change notification settings - Fork 42
[Docs - System.js branch] Explain the correlation between gulpfile.js and index.html for prod build #20
Comments
Hi @jbgarr thank you for your feedback. I've filed a separate issue to externalize the systemjs config into a separate file (#21). Meanwhile to answer your questions:
|
Hi @jeeyun thanks for the reply. I have been playing with the gulpfile for a while and can't seem to get the right combination of things figured out. It seems in addition to adjusting the |
In general
So if you have external libraries you should exclude those there as well. If you are more familiar/comfortable with |
Ah, ok! That was what I was missing... I think I had tried different variations of including the meta |
I'm trying to run the build.prod command and running into issues. The main thing that I'm having a hard time putting together is how the gulpfile and index.html would need to be updated in order to add additional libraries/dependencies. My app runs fine in dev mode, but it blows up during the build.prod process. I have a number of external dependencies that I'm trying to work with including ngrx. Can someone please help guide me through the process of adding external dependencies to my gulpfile so that it builds correctly?
Another thing that would be nice would be explaining how one could use a systemjs.config.js file to store the system.js config info in an external file rather than having it all in the index.html file. That section of the index.html file could end up really long so it would be nice to have it in a separate file. Thanks for any help you can provide.
The text was updated successfully, but these errors were encountered: