jeudi 7 mai 2015

Include an Internet Explorer specific page to ember-cli build

I have an ember-cli project that currently does not run at all in IE <10. I still want to be able to track when users come to the site from these unsupported browsers as part of our business case so I still need for Google Analytics to run.

I have created an IE specific page which is almost an exact copy of app/index.html but I have removed the JavaScripts from getting downloaded so ember does not ever get run. This page simply displays that the user is using an unsupported browser and then logs the page visit to GA.

I have saved this file as app/ie.html but it does not get included in the build. How can I configure my Brocfile to include this file?

Aucun commentaire:

Enregistrer un commentaire