Fix up polyfills, remove unused deps (#9946)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
import 'react-native-url-polyfill/auto'
|
||||
import 'fast-text-encoding'
|
||||
|
||||
export {}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import 'array.prototype.findlast/auto'
|
||||
/// <reference lib="dom" />
|
||||
|
||||
// @ts-ignore whatever typescript wants to complain about here, I dont care about -prf
|
||||
window.setImmediate = (cb: () => void) => setTimeout(cb, 0)
|
||||
import 'setimmediate'
|
||||
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
// In development, react-native-web's <View> tries to validate that
|
||||
@@ -32,3 +29,5 @@ if (process.env.NODE_ENV !== 'production') {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {}
|
||||
|
||||
Reference in New Issue
Block a user