@rsbuild/plugin-babel 0.6.1 → 0.6.2
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -151,7 +151,7 @@ var applyUserBabelConfig = (defaultOptions, userBabelConfig, extraBabelUtils) =>
|
|
|
151
151
|
};
|
|
152
152
|
var getUseBuiltIns = (config) => {
|
|
153
153
|
const { polyfill } = config.output;
|
|
154
|
-
if (polyfill === "
|
|
154
|
+
if (polyfill === "off") {
|
|
155
155
|
return false;
|
|
156
156
|
}
|
|
157
157
|
return polyfill;
|
package/dist/index.mjs
CHANGED
|
@@ -139,7 +139,7 @@ var applyUserBabelConfig = (defaultOptions, userBabelConfig, extraBabelUtils) =>
|
|
|
139
139
|
};
|
|
140
140
|
var getUseBuiltIns = (config) => {
|
|
141
141
|
const { polyfill } = config.output;
|
|
142
|
-
if (polyfill === "
|
|
142
|
+
if (polyfill === "off") {
|
|
143
143
|
return false;
|
|
144
144
|
}
|
|
145
145
|
return polyfill;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-babel",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Babel plugin for Rsbuild",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"@babel/plugin-transform-class-properties": "^7.24.1",
|
|
30
30
|
"@types/babel__core": "^7.20.5",
|
|
31
31
|
"upath": "2.0.1",
|
|
32
|
-
"@rsbuild/shared": "0.6.
|
|
32
|
+
"@rsbuild/shared": "0.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "16.x",
|
|
36
36
|
"typescript": "^5.4.2",
|
|
37
|
-
"@rsbuild/core": "0.6.
|
|
38
|
-
"@scripts/test-helper": "0.6.
|
|
37
|
+
"@rsbuild/core": "0.6.2",
|
|
38
|
+
"@scripts/test-helper": "0.6.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@rsbuild/core": "^0.6.
|
|
41
|
+
"@rsbuild/core": "^0.6.2"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public",
|