# babel-polyfill-loader

> A webpack loader that generates a customized babel polyfill

Latest version **1.0.1** (published 2017-07-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-polyfill-loader
pnpm add babel-polyfill-loader
yarn add babel-polyfill-loader
bun add babel-polyfill-loader
```

## 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.1 |
| Published | 2017-07-14 |
| First published | 2017-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Jennifer Stern |
| Maintainers | jstern |

## Links

- npm: https://www.npmjs.com/package/babel-polyfill-loader
- Repository: https://github.com/junyper/babel-polyfill-loader
- Homepage: https://github.com/junyper/babel-polyfill-loader#readme
- Issues: https://github.com/junyper/babel-polyfill-loader/issues
- npm.io page: https://npm.io/package/babel-polyfill-loader

## Dependencies (2)

- [loader-utils](https://npm.io/package/loader-utils.md) ^1.1.0
- [core-js-builder](https://npm.io/package/core-js-builder.md) ^2.4.1

## Recent versions

- 1.0.1 (latest) — 2017-07-14

## README

[npm]: https://img.shields.io/npm/v/babel-polyfill-loader.svg
[npm-url]: https://npmjs.com/package/babel-polyfill-loader

[![npm][npm]][npm-url]

# babel-polyfill-loader
A [webpack](https://www.npmjs.com/package/webpack) loader that generates a
customized babel polyfill

## Installation

```sh
npm install babel-polyfill-loader
```

## Usage
Add a babel-polyfill.json file to your project:

```json
{
  "modules": [
    "es6.object.assign",
    "es6.array.find",
    "es6.array.find-index",
    "es6.array.from",
    "es6.string.starts-with",
    "es7.array.includes",
    "es6.symbol"
  ],
  "library": false
}
```

See the [core-js README](https://github.com/zloirock/core-js#custom-build-from-external-scripts) for more options.

Add an entry to your webpack config:

```js
entry: {
  polyfill: 'babel-polyfill-loader!'
}
```

Or require the loader in your project:

```js
require('babel-polyfill-loader!')
```

## License

[MIT](LICENSE)

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