How to use umi-plugin-polyfill - 1 common examples

To help you get started, we’ve selected a few umi-plugin-polyfill examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github umijs / umi / packages / umi-preset-react / src / plugins / polyfills.js View on Github external
export default function(api, options) {
  if (options.includes('ie9')) {


umijs 的兼容插件,目前主要是兼容到 ie9。内置了 react 在 ie 下所需要的 polyfill 和 [setprototypeof](。

Latest version published 6 years ago

Package Health Score

66 / 100
Full package analysis

Popular umi-plugin-polyfill functions

Similar packages