Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

targets.js is still not acknowledged #55

Open
amk221 opened this issue Jul 3, 2020 · 0 comments
Open

targets.js is still not acknowledged #55

amk221 opened this issue Jul 3, 2020 · 0 comments

Comments

@amk221
Copy link

amk221 commented Jul 3, 2020

Related: #47

Here is an example repo.

The repo has no .browserslistrc, therefore, according to ember-cli-autoprefixer's README, the browser list defined in targets.js will be used.

The example app contains some simple CSS div { display: flex }

The targets.js file contains a browsers list of just: ['ie 10'].

When ember build --environment=production is run, one would expect to see the following output:

div {display:-ms-flexbox; display:flex }

...but it is not.

Creating a .browserslistrc.js with ie 10 does produce the correct output (so that's fine).

I went down a dependancy rabbit hole of ember-cli-autoprefixer -> broccoli-autoprefixer -> autoprefixer -> postcss -> browserlist

but I am non-the-wiser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant