javascript - Build multiple html pages within ember-cli -


i have ember-cli project not run @ in ie<10. still want able track when users come site these unsupported browsers part of our business case still have need google analytics run.

i have created ie specific page exact copy of app/index.html have removed javascripts getting downloaded ember not ever run. page displays user using unsupported browser , logs page visit ga.

i want able compile helpers such {{content-for 'head'}} in ie page because there few things need bring file, namely ga script along our specific tracking code in environments file, necessity part of build process.

i more told use conditional comments having scoured msdn have discovered these no longer supported don't want head down road.

i have saved file app/ie.html not included in build. how can configure ember-cli include file?

from understand have ie.html file want copied dist folder. can use app.import in brofile.js that.

but app.import work files inside either bower_components or vendor directory. you can read here this.

what can copy ie.html file vendor folder vendor/iecompat/ie.html

then inside brocfile can import like

app.import('vendor/iecompat/ie.html', {destdir: ''}); 

Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -