@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!')

    Keywords

    none

    Install

    npm i @instructure/ui-polyfill-loader

    DownloadsWeekly Downloads

    1,413

    Version

    8.6.0

    License

    MIT

    Unpacked Size

    24.7 kB

    Total Files

    6

    Last publish

    Collaborators

    • kyler-instructure
    • jonscheiding
    • instuici
    • codequistador
    • natearmstrong
    • eschiebel
    • maths22
    • hyan
    • jcrystal
    • skacsmark
    • itadmins
    • quizzesuici
    • instructure-toolsmiths-service-user
    • prenner
    • aogata-inst
    • acallejas
    • viktor.ohad
    • eszter.szabo
    • amireh-inst
    • daniel.hatas.instructure
    • brianlwatson
    • instout