@instructure/ui-polyfill-loader

8.6.0 • Public • Published

category: packages

babel-polyfill-loader

npm  [![build-status][build-status]][build-status-url]  MIT License  Code of Conduct

A webpack loader that generates a customized polyfill

Installation

yarn add --dev @instructure/ui-polyfill-loader

Usage

Add a .polyfillrc (in JSON or YAML format) or a polyfill.config.js file to your project:

{
  [
    "es6.object.assign",
    "es6.array.find",
    "es6.array.find-index",
    "es6.array.from",
    "es6.string.starts-with",
    "es7.array.includes",
    "es6.symbol"
  ]
}

See the core-js README for more options.

Add an entry to your webpack config:

entry: {
  polyfill: '@instructure/ui-polyfill-loader!'
}

Or require the loader in your project:

require('@instructure/ui-polyfill-loader!')

Readme

Keywords

none

Package Sidebar

Install

npm i @instructure/ui-polyfill-loader

Weekly Downloads

6,339

Version

8.6.0

License

MIT

Unpacked Size

24.7 kB

Total Files

6

Last publish

Collaborators

  • razorsh4rk
  • david.wenzlick.inst
  • robinkuss64
  • ardena
  • jcflow
  • jguardadom
  • jdewar
  • xcudder
  • ericsaupe
  • joyenjoyer
  • omarpr
  • cguanzon-inst
  • sarahgerard
  • jacksonhowe
  • jakeoeding
  • camray
  • cjs118
  • matyas.szabo
  • herrtopi
  • angela.gomba
  • kyler-instructure
  • instuici
  • eschiebel
  • maths22
  • jcrystal
  • skacsmark
  • itadmins
  • quizzesuici
  • instructure-toolsmiths-service-user
  • aogata-inst
  • instout