mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Redefine browser requirements for legacy (ES5) builds (#16384)
This commit is contained in:
parent
d2321b535c
commit
4740ce685f
@ -14,8 +14,20 @@ not iOS < 13
|
|||||||
not dead
|
not dead
|
||||||
|
|
||||||
[legacy]
|
[legacy]
|
||||||
# Legacy builds are transpiled to ES5 (strict mode) but also must support some features that cannot be polyfilled:
|
# Legacy builds are served when modern requirements are not met and support browsers:
|
||||||
|
# - released in the last 7 years + current alpha/beta versionss
|
||||||
|
# - with global utilization above 0.05%
|
||||||
|
# The lattermost query ensures that support for popular old browsers is not dropped too early
|
||||||
|
# (e.g. IE 11, Android 4.4, or Samsung 4).
|
||||||
|
#
|
||||||
|
# In addition, legacy browsers must support some minimum features that cannot be polyfilled:
|
||||||
|
# - ES5 (strict mode)
|
||||||
# - web sockets to communicate with backend
|
# - web sockets to communicate with backend
|
||||||
# - inline SVG used widely in buttons, widgets, etc.
|
# - inline SVG used widely in buttons, widgets, etc.
|
||||||
# - custom events used for most user interactions
|
# - custom events used for most user interactions
|
||||||
supports use-strict and supports websockets and supports svg-html5 and supports customevent
|
# - CSS flexbox used in the majority of the layout
|
||||||
|
# Nearly all of these are redundant with the above rules.
|
||||||
|
# As of May 2023, only web sockets must be added to the query.
|
||||||
|
unreleased versions
|
||||||
|
last 7 years
|
||||||
|
> 0.05% and supports websockets
|
||||||
|
Loading…
x
Reference in New Issue
Block a user