Closed semenko closed 10 years ago
yes, there are even grunt packages for doing that, i think called grunt-google-cdn
also, there are alternate approaches where your index.html has environment specific logic in comments that leads to different index.html files for each environment
i can easily add that in — Sent from Mailbox for iPad
On Sun, Apr 6, 2014 at 9:15 PM, Nick Semenkovich notifications@github.com wrote:
Can we serve different content via "grunt serve" vs build/s3? e.g. when i run build, can I point the angular reference to a CDN: //ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js But when I run "serve" point angular to the local, uncompressed/debug version?
Very low priority, just used to doing this in Flask/Jinja2.
Reply to this email directly or view it on GitHub: https://github.com/WhiteCoatAcademy/icd10/issues/1
This issue was addressed in the last commit e9b52be9b195b7f3038a9d3b2b4c5f5543f1ff9c
Can we serve different content via "grunt serve" vs build/s3?
e.g. when i run build, can I point the angular reference to a CDN: //ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js
But when I run "serve" point angular to the local, uncompressed/debug version?
Very low priority, just used to doing this in Flask/Jinja2.