@rsbuild/plugin-babel 0.3.5 → 0.3.6

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -61,8 +61,18 @@ type BabelConfigUtils = {
61
61
  addExcludes: (excludes: RuleCondition) => void;
62
62
  };
63
63
  type PluginBabelOptions = {
64
+ /**
65
+ * Used to specify the files that need to be compiled by Babel.
66
+ */
64
67
  include?: RuleCondition;
68
+ /**
69
+ * Used to specify the files that do not need to be compiled by Babel.
70
+ */
65
71
  exclude?: RuleCondition;
72
+ /**
73
+ * Options passed to `babel-loader`.
74
+ * @see https://github.com/babel/babel-loader
75
+ */
66
76
  babelLoaderOptions?: ChainedConfigWithUtils<TransformOptions, BabelConfigUtils>;
67
77
  };
68
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-babel",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Babel plugin for Rsbuild",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,16 +27,16 @@
27
27
  "@babel/preset-typescript": "^7.23.2",
28
28
  "@types/babel__core": "^7.20.3",
29
29
  "upath": "2.0.1",
30
- "@rsbuild/shared": "0.3.5"
30
+ "@rsbuild/shared": "0.3.6"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "16.x",
34
34
  "typescript": "^5.3.0",
35
- "@rsbuild/core": "0.3.5",
36
- "@scripts/test-helper": "0.3.5"
35
+ "@rsbuild/core": "0.3.6",
36
+ "@scripts/test-helper": "0.3.6"
37
37
  },
38
38
  "peerDependencies": {
39
- "@rsbuild/core": "^0.3.5"
39
+ "@rsbuild/core": "^0.3.6"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public",