-
Notifications
You must be signed in to change notification settings - Fork 3
/
browserslist
91 lines (82 loc) · 2.57 KB
/
browserslist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Browserslist’s default browsers (> 0.5%, last 2 versions, Firefox ESR, not dead).
defaults
# take queries from browserslist-config-mycompany npm package.
extends browserslist-config-mycompany
# browsers versions selected by global usage statistics. >=, < and <= work too.
[modern]
> 5%
# uses USA usage statistics. It accepts two-letter country code.
> 5% in US
# uses Asia region usage statistics. List of all region codes can be found at caniuse-lite/data/regions.
> 5% in alt-AS
# uses custom usage data.
> 5% in my stats
# uses custom usage data from browserslist-config-mycompany/browserslist-stats.json.
> 5% in browserslist-config-mycompany stats
# most popular browsers that provide coverage.
[production]
cover 99.5%
# same as above, with two-letter country code.
cover 99.5% in US
# uses custom usage data.
cover 99.5% in my stats
# browsers without official support or updates for 24 months.
# right now it is IE 10, IE_Mob 11, BlackBerry 10, BlackBerry 7, Samsung 4 and OperaMobile 12.1.
not dead
# the last 2 versions for each browser.
last 2 versions
# the last 2 versions of Chrome browser.
last 2 Chrome versions
# all minor/patch releases of last 2 major versions.
last 2 major versions or last 2 iOS major versions
# selects latest Node.js 10.x.x or 10.4.x release.
[ssr]
node 10 and node 10.4 and node 10.4.1
# Node.js version used by Browserslist right now.
current node
# all Node.js versions, which are still maintained by Node.js Foundation.
maintained node versions
# the iOS browser version 7 directly.
iOS 7
# versions of Firefox newer than 20. >=, < and <= work too. It also works with Node.js.
Firefox > 20
# selects an inclusive range of versions.
ie 6-8
# the latest [Firefox ESR] version.
Firefox ESR
# selects Safari versions similar to PhantomJS runtime.
PhantomJS 2.1 and PhantomJS 1.9
# browsers with support for specific features
# es6-module here is the feat parameter at the URL of the Can I Use page
# list of all available features can be found at caniuse-lite/data/features.
supports es6-module
# all versions released since year 2015 (also since 2015-03 and since 2015-03-10).
since 2015 or last 2 years
since 2015-03
since 2015-03-10
# alpha and beta versions.
unreleased versions or unreleased Chrome versions
# exclude browsers selected by previous queries.
not ie <= 8
# Browser names
Android
Baidu
BlackBerry or bb
Chrome
ChromeAndroid or and_chr
Edge
Electron
Explorer or ie
ExplorerMobile or ie_mob
Firefox or ff
FirefoxAndroid or and_ff
iOS or ios_saf
Node
Opera
OperaMini or op_mini
OperaMobile or op_mob
QQAndroid or and_qq
Safari
Samsung
UCAndroid or and_uc
kaios