You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@instructure/ui-polyfill-loader

Package Overview
Dependencies
Maintainers
22
Versions
1204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-polyfill-loader

A webpack loader that generates a customized polyfill

latest
Source
npmnpm
Version
8.6.0
Version published
Maintainers
22
Created
Source

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

FAQs

Package last updated on 18 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts