How to use the @babel/preset-env/lib/utils.createImport function in @babel/preset-env

To help you get started, we’ve selected a few @babel/preset-env 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 nuxt / nuxt.js / packages / babel-preset-app / src / polyfills-plugin.js View on Github external
polyfills.slice().reverse().forEach((p) => {
          createImport(path, p)
        })
      }
github vuejs / vue-cli / packages / @vue / babel-preset-app / polyfillsPlugin.js View on Github external
polyfills.slice().reverse().forEach(p => {
          createImport(path, p)
        })
      }