Socket
Socket
Sign inDemoInstall

babel-plugin-dynamic-import-system-import

Package Overview
Dependencies
8
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-plugin-dynamic-import-system-import

Babel plugin to transpile import() to System.import()


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Install size
3.79 MB
Created
Weekly downloads
 

Readme

Source

babel-plugin-dynamic-import-system-import

Babel plugin to transpile import() to System.import().

NOTE: Babylon >= v6.12.0 is required to correct parse dynamic imports.

Installation

$ npm install babel-plugin-dynamic-import-system-import --save-dev

Usage

.babelrc

{
  "plugins": ["dynamic-import-system-import"]
}

Via CLI

$ babel --plugins dynamic-import-system-import script.js

Via Node API

require('babel-core').transform('code', {
  plugins: ['dynamic-import-system-import']
});

Keywords

FAQs

Last updated on 07 Dec 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc