# export-from-ie8

> solution to the problem: 'export { foo } from "./baz"' in ie8.

Latest version **1.0.5** (published 2016-12-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install export-from-ie8
pnpm add export-from-ie8
yarn add export-from-ie8
bun add export-from-ie8
```

## 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 | 1.0.5 |
| Published | 2016-12-06 |
| First published | 2016-12-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | forek |
| Maintainers | forek |
| Keywords | webpack, babel, loader, jstransform, ie8, export-from |

## Links

- npm: https://www.npmjs.com/package/export-from-ie8
- Repository: https://github.com/forek/export-from-ie8
- Homepage: https://github.com/forek/export-from-ie8#readme
- Issues: https://github.com/forek/export-from-ie8/issues
- npm.io page: https://npm.io/package/export-from-ie8

## Dependencies (2)

- [through](https://npm.io/package/through.md) ^2.3.4
- [jstransform](https://npm.io/package/jstransform.md) ^11.0.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2016-12-06
- 1.0.4 — 2016-12-02
- 1.0.3 — 2016-12-01
- 1.0.2 — 2016-12-01
- 1.0.1 — 2016-12-01
- 1.0.0 — 2016-12-01

## README

# export-from-ie8
When "export { foo } from './baz';" is used, it is incorrectly compiled by babel as "Object.defineProperty (...)", which causes the IE8 browser to go wrong, like: https://github.com/babel/babel/issues/4265. Using "export-from-ie8" will solve this problem.

### Usage
Add export-from-ie8/loader into webpack.config.js
```
  postLoaders: [
    {
      test: /\.(js|jsx)$/,
      loader: 'export-from-ie8/loader'
    }
  ]
```

### Example
```javascript

// Before

export { foo, bar } from './baz';

// After
exports.bar = _baz.foo;
exports.foo = _baz.foo;
```

### Test
```sh
npm run test
```

---
_Source: https://npm.io/package/export-from-ie8 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
