diff options
Diffstat (limited to 'node_modules/@babel/plugin-syntax-dynamic-import')
3 files changed, 0 insertions, 83 deletions
diff --git a/node_modules/@babel/plugin-syntax-dynamic-import/README.md b/node_modules/@babel/plugin-syntax-dynamic-import/README.md deleted file mode 100644 index 4705c75e..00000000 --- a/node_modules/@babel/plugin-syntax-dynamic-import/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# @babel/plugin-syntax-dynamic-import - -> Allow parsing of `import()`. - -## Installation - -```sh -npm install --save-dev @babel/plugin-syntax-dynamic-import -``` - -## Usage - -### Via `.babelrc` (Recommended) - -**.babelrc** - -```json -{ - "plugins": ["@babel/plugin-syntax-dynamic-import"] -} -``` - -### Via CLI - -```sh -babel --plugins @babel/plugin-syntax-dynamic-import script.js -``` - -### Via Node API - -```javascript -require("@babel/core").transform("code", { - plugins: ["@babel/plugin-syntax-dynamic-import"] -}); -``` diff --git a/node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js b/node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js deleted file mode 100644 index d490e3ec..00000000 --- a/node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js +++ /dev/null @@ -1,28 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -function _helperPluginUtils() { - const data = require("@babel/helper-plugin-utils"); - - _helperPluginUtils = function _helperPluginUtils() { - return data; - }; - - return data; -} - -var _default = (0, _helperPluginUtils().declare)(api => { - api.assertVersion(7); - return { - manipulateOptions(opts, parserOpts) { - parserOpts.plugins.push("dynamicImport"); - } - - }; -}); - -exports.default = _default;
\ No newline at end of file diff --git a/node_modules/@babel/plugin-syntax-dynamic-import/package.json b/node_modules/@babel/plugin-syntax-dynamic-import/package.json deleted file mode 100644 index 6f94cd49..00000000 --- a/node_modules/@babel/plugin-syntax-dynamic-import/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@babel/plugin-syntax-dynamic-import", - "version": "7.0.0-beta.47", - "description": "Allow parsing of import()", - "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-dynamic-import", - "license": "MIT", - "main": "lib/index.js", - "keywords": [ - "babel-plugin" - ], - "dependencies": { - "@babel/helper-plugin-utils": "7.0.0-beta.47" - }, - "peerDependencies": { - "@babel/core": "7.0.0-beta.47" - }, - "devDependencies": { - "@babel/core": "7.0.0-beta.47" - } -} |
