Skip to content

Commit 3adf187

Browse files
Update BrowserList configuration and usage. Closes #108
- single place of configuration via .browserlistrc file - up-to-date configuration aligned with @angular/cli generated one Thanks!
1 parent cc7e61f commit 3adf187

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.browserslistrc

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
[production staging]
2-
> 1%
3-
ie 10
1+
# This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
#
5+
# For IE 10-11 support, please remove 'not' from the last line of the file and adjust as needed
46

5-
[development]
6-
last 1 chrome version
7-
last 1 firefox version
7+
> 0.5%
8+
last 2 versions
9+
Firefox ESR
10+
not dead
11+
IE 10-11

postcss.config.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
module.exports = {
2-
plugins: {
3-
autoprefixer: {
4-
browsers: ['last 2 versions']
5-
},
6-
},
2+
plugins: [require('autoprefixer')]
73
};

0 commit comments

Comments
 (0)