# expo-legacy-browser-support

> All the config you need to get `expo build:web` to output code that's compatible with iOS 9 and Internet Explorer 11, in one easy to use package.

Latest version **3.1.0** (published 2022-12-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install expo-legacy-browser-support
pnpm add expo-legacy-browser-support
yarn add expo-legacy-browser-support
bun add expo-legacy-browser-support
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2022-12-14 |
| First published | 2020-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 17.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | linusu |

## Links

- npm: https://www.npmjs.com/package/expo-legacy-browser-support
- Repository: https://github.com/LinusU/expo-legacy-browser-support
- Homepage: https://github.com/LinusU/expo-legacy-browser-support#readme
- Issues: https://github.com/LinusU/expo-legacy-browser-support/issues
- npm.io page: https://npm.io/package/expo-legacy-browser-support

## Dependencies (4)

- [core-js](https://npm.io/package/core-js.md) ^3.26.1
- [whatwg-fetch](https://npm.io/package/whatwg-fetch.md) ^3.6.2
- [regenerator-runtime](https://npm.io/package/regenerator-runtime.md) ^0.13.11
- [@expo/webpack-config](https://npm.io/package/@expo/webpack-config.md) ^0.17.3

## Recent versions

- 3.1.0 (latest) — 2022-12-14
- 3.0.0 — 2022-12-14
- 2.0.0 — 2022-07-04
- 1.0.0 — 2020-07-24

## README

# iOS 9 and IE 11 support for Expo Web

All the config you need to get `expo build:web` to output code that's compatible with iOS 9 and Internet Explorer 11, in one easy to use package.

## Usage

1. Install package

    ```sh
    npm install --save-dev expo-legacy-browser-support
    ```

2. Configure babel (`babel.config.js`)

    ```diff
     module.exports = function(api) {
       api.cache(true);
       return {
    -    presets: ['babel-preset-expo'],
    +    presets: ['expo-legacy-browser-support/babel'],
       };
     };
    ```

3. Add WebPack config (`webpack.config.js`)

    ```js
    module.exports = require('expo-legacy-browser-support/webpack')
    ```

4. Add polyfills (`package.json`)

    ```diff
     {
       "version": "0.0.0",
    -  "main": "node_modules/expo/AppEntry.js",
    +  "main": "node_modules/expo-legacy-browser-support/AppEntry.js",
       "private": true,
       "scripts": {
    ```

---
_Source: https://npm.io/package/expo-legacy-browser-support · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
