mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-14 03:43:23 +00:00
* 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
19 lines
371 B
JavaScript
19 lines
371 B
JavaScript
'use strict';
|
|
|
|
const generator = require('inline-style-prefixer/lib/generator').default;
|
|
const path = require('path');
|
|
|
|
const browserList = {
|
|
and_chr: 49,
|
|
chrome: 49,
|
|
edge: 79,
|
|
firefox: 52,
|
|
ios_saf: 11,
|
|
opera: 50,
|
|
safari: 11
|
|
};
|
|
|
|
generator(browserList, {
|
|
path: path.join(__dirname, '../../packages/react-native-web/src/modules/prefixStyles/static.js')
|
|
});
|