emberjs / emberjs/ember-cli-babel

Define multiple browser targets for a single build

Open
#200 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
152
Forks
115
Avg merge
23h 22m
Merged PRs (30d)
4

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.