move URL polyfill to the polyfill file
This commit is contained in:
@@ -162,6 +162,9 @@ See [testing.md](./testing.md).
|
|||||||
`./platform/polyfills.*.ts` adds polyfills to the environment. Currently, this includes:
|
`./platform/polyfills.*.ts` adds polyfills to the environment. Currently, this includes:
|
||||||
|
|
||||||
- TextEncoder / TextDecoder
|
- TextEncoder / TextDecoder
|
||||||
|
- react-native-url-polyfill
|
||||||
|
- Array#findLast (on web)
|
||||||
|
- atob (on native)
|
||||||
|
|
||||||
### Sentry sourcemaps
|
### Sentry sourcemaps
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import 'react-native-url-polyfill/auto'
|
|
||||||
import '#/logger/sentry/setup'
|
import '#/logger/sentry/setup'
|
||||||
import '#/logger/bitdrift/setup'
|
import '#/logger/bitdrift/setup'
|
||||||
import '#/view/icons'
|
import '#/view/icons'
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import 'react-native-url-polyfill/auto'
|
||||||
import 'fast-text-encoding'
|
import 'fast-text-encoding'
|
||||||
export {}
|
export {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user