mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-14 03:43:23 +00:00
[change] StyleSheet rewrite
* Improves React Native compatibility by making StyleSheet.create the identify function. * Improves React 18 support by inserting styles on eval. * Supports use with multiple windows (i.e., iframes) and shadow roots. * Supports nested LTR/RTL layouts. * Supports 3rd party compilers and extraction to static CSS. * Fixes static and dynamic short/longform deduplication. * Reduces browser support: Safari 10.1+, Chromium Edge, no IE, no legacy Android browsers. * Removes automatic vendor-prefixing of inline styles (for better perf). * Removes focus-visible polyfill as modern browsers no longer show focus rings for mouse interactions. Close #2208 Fix #2138 Fix #2196 Fix #2007 Fix #1517
This commit is contained in:
@@ -4,18 +4,13 @@ const generator = require('inline-style-prefixer/lib/generator').default;
|
||||
const path = require('path');
|
||||
|
||||
const browserList = {
|
||||
chrome: 38,
|
||||
android: 4,
|
||||
firefox: 40,
|
||||
ios_saf: 7,
|
||||
safari: 7,
|
||||
ie: 10,
|
||||
ie_mob: 11,
|
||||
edge: 12,
|
||||
opera: 16,
|
||||
op_mini: 12,
|
||||
and_uc: 9,
|
||||
and_chr: 38
|
||||
and_chr: 49,
|
||||
chrome: 49,
|
||||
edge: 79,
|
||||
firefox: 52,
|
||||
ios_saf: 11,
|
||||
opera: 50,
|
||||
safari: 11
|
||||
};
|
||||
|
||||
generator(browserList, {
|
||||
|
||||
Reference in New Issue
Block a user