Open amk221 opened 4 years ago
Related: https://github.com/kimroen/ember-cli-autoprefixer/issues/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.
.browserslistrc
ember-cli-autoprefixer
targets.js
The example app contains some simple CSS div { display: flex }
div { display: flex }
The targets.js file contains a browsers list of just: ['ie 10'].
['ie 10']
When ember build --environment=production is run, one would expect to see the following output:
ember build --environment=production
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).
.browserslistrc.js
ie 10
I went down a dependancy rabbit hole of ember-cli-autoprefixer -> broccoli-autoprefixer -> autoprefixer -> postcss -> browserlist
but I am non-the-wiser.
Related: https://github.com/kimroen/ember-cli-autoprefixer/issues/47
Here is an example repo.
The repo has no
.browserslistrc
, therefore, according toember-cli-autoprefixer
's README, the browser list defined intargets.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
withie 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.