@babel/plugin-proposal-dynamic-import
Advanced tools
Comparing version 7.21.4-esm to 7.21.4-esm.1
@@ -1,9 +0,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = void 0; | ||
var _helperPluginUtils = require("@babel/helper-plugin-utils"); | ||
var _pluginSyntaxDynamicImport = require("@babel/plugin-syntax-dynamic-import"); | ||
import { declare } from "@babel/helper-plugin-utils"; | ||
import syntaxDynamicImport from "@babel/plugin-syntax-dynamic-import"; | ||
const SUPPORTED_MODULES = ["commonjs", "amd", "systemjs"]; | ||
@@ -22,9 +16,9 @@ const MODULES_NOT_FOUND = `\ | ||
`; | ||
var _default = (0, _helperPluginUtils.declare)(api => { | ||
export default declare(api => { | ||
api.assertVersion(7); | ||
return { | ||
name: "proposal-dynamic-import", | ||
inherits: _pluginSyntaxDynamicImport.default, | ||
inherits: syntaxDynamicImport.default, | ||
pre() { | ||
this.file.set("@babel/plugin-proposal-dynamic-import", "7.21.4-esm"); | ||
this.file.set("@babel/plugin-proposal-dynamic-import", "7.21.4-esm.1"); | ||
}, | ||
@@ -41,4 +35,3 @@ visitor: { | ||
}); | ||
exports.default = _default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@babel/plugin-proposal-dynamic-import", | ||
"version": "7.21.4-esm", | ||
"version": "7.21.4-esm.1", | ||
"description": "Transform import() expressions", | ||
@@ -19,11 +19,11 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^7.21.4-esm", | ||
"@babel/helper-plugin-utils": "^7.21.4-esm.1", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3" | ||
}, | ||
"peerDependencies": { | ||
"@babel/core": "^7.0.0-0 || 7.21.4-esm" | ||
"@babel/core": "^7.0.0-0 || 7.21.4-esm.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.21.4-esm", | ||
"@babel/helper-plugin-test-runner": "^7.21.4-esm" | ||
"@babel/core": "^7.21.4-esm.1", | ||
"@babel/helper-plugin-test-runner": "^7.21.4-esm.1" | ||
}, | ||
@@ -34,3 +34,3 @@ "engines": { | ||
"author": "The Babel Team (https://babel.dev/team)", | ||
"type": "commonjs" | ||
"type": "module" | ||
} |
Sorry, the diff of this file is not supported yet
Yes
5844
33