@rsbuild/plugin-babel 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -38,7 +38,6 @@ module.exports = __toCommonJS(src_exports);
38
38
 
39
39
  // src/plugin.ts
40
40
  var import_shared2 = require("@rsbuild/shared");
41
- var import_lodash = require("lodash");
42
41
 
43
42
  // src/helper.ts
44
43
  var import_path = require("path");
@@ -198,7 +197,7 @@ var pluginBabel = (options = {}) => ({
198
197
  ]
199
198
  };
200
199
  const userBabelConfig = applyUserBabelConfig(
201
- (0, import_lodash.cloneDeep)(baseConfig),
200
+ (0, import_shared2.cloneDeep)(baseConfig),
202
201
  options,
203
202
  babelUtils
204
203
  );
package/dist/index.mjs CHANGED
@@ -15,8 +15,7 @@ import { createRequire } from "module";
15
15
  global.require = createRequire(import.meta.url);
16
16
 
17
17
  // src/plugin.ts
18
- import { SCRIPT_REGEX } from "@rsbuild/shared";
19
- import { cloneDeep } from "lodash";
18
+ import { cloneDeep, SCRIPT_REGEX } from "@rsbuild/shared";
20
19
 
21
20
  // src/helper.ts
22
21
  import { isAbsolute, normalize, sep } from "path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-babel",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Babel plugin for Rsbuild",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,16 +25,14 @@
25
25
  "@babel/preset-typescript": "^7.23.2",
26
26
  "@types/babel__core": "^7.20.3",
27
27
  "babel-loader": "9.1.3",
28
- "lodash": "^4.17.21",
29
28
  "upath": "2.0.1",
30
- "@rsbuild/shared": "0.1.7"
29
+ "@rsbuild/shared": "0.1.8"
31
30
  },
32
31
  "devDependencies": {
33
- "@types/lodash": "^4.14.200",
34
32
  "@types/node": "^16",
35
33
  "typescript": "^5.3.0",
36
- "@rsbuild/core": "0.1.7",
37
- "@rsbuild/test-helper": "0.1.7"
34
+ "@rsbuild/test-helper": "0.1.8",
35
+ "@rsbuild/core": "0.1.8"
38
36
  },
39
37
  "publishConfig": {
40
38
  "access": "public",