summaryrefslogtreecommitdiff
path: root/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
commitf06956efd2dc4bf77244a9fcce2b883a00b925af (patch)
tree0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/@babel/plugin-transform-dynamic-import/lib/index.js
parent8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff)
updated node modules
Diffstat (limited to 'node_modules/@babel/plugin-transform-dynamic-import/lib/index.js')
-rw-r--r--node_modules/@babel/plugin-transform-dynamic-import/lib/index.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js b/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js
index 091c5013..4bef54f2 100644
--- a/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js
+++ b/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js
@@ -18,13 +18,13 @@ Babel to transpile your imports and exports, you can use
the @babel/plugin-syntax-dynamic-import plugin and let your
bundler handle dynamic imports.
`;
-var _default = (0, _helperPluginUtils.declare)(api => {
+var _default = exports.default = (0, _helperPluginUtils.declare)(api => {
api.assertVersion(7);
return {
name: "transform-dynamic-import",
inherits: require("@babel/plugin-syntax-dynamic-import").default,
pre() {
- this.file.set("@babel/plugin-proposal-dynamic-import", "7.22.11");
+ this.file.set("@babel/plugin-proposal-dynamic-import", "7.23.4");
},
visitor: {
Program() {
@@ -36,6 +36,5 @@ var _default = (0, _helperPluginUtils.declare)(api => {
}
};
});
-exports.default = _default;
//# sourceMappingURL=index.js.map