Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Define multiple browser targets for a single build #200
First of all, I am not sure if this is a question for ember-cli-babel or ember-cli.
I am wondering if there is any way to accomplish having ember build generate 2 different JS and CSS sets of files based on 2 different target browsers definition. The first package would have regular names and the second could have "-legacy" appended for example.
The use case for this is the following - we would like to serve non-transpiled source code to browsers that support it, and regular transpiled code to all others.
Any suggestions on how this could be accomplished are greatly appreciated!
We were also trying to do this and had some success recently. If you use ember-cli-deploy and the lightning strategy, you will have to generate two builds(one transpiled and another non-transpiled using ENV variables) and make the build label of the second build as