@rsbuild/plugin-babel 0.0.28 → 1.0.0
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 +2 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
6
6
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
7
|
});
|
|
8
8
|
|
|
9
|
-
// ../../node_modules/.pnpm/@modern-js+module-tools@2.40.0_typescript@5.
|
|
9
|
+
// ../../node_modules/.pnpm/@modern-js+module-tools@2.40.0_typescript@5.3.2/node_modules/@modern-js/module-tools/shims/esm.js
|
|
10
10
|
import { fileURLToPath } from "url";
|
|
11
11
|
import path from "path";
|
|
12
12
|
|
|
@@ -136,7 +136,7 @@ var DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS = {
|
|
|
136
136
|
isTSX: true
|
|
137
137
|
};
|
|
138
138
|
var pluginBabel = (options = {}) => ({
|
|
139
|
-
name: "
|
|
139
|
+
name: "rsbuild:babel",
|
|
140
140
|
setup(api) {
|
|
141
141
|
if (api.context.bundlerType === "webpack") {
|
|
142
142
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-babel",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Babel plugin for Rsbuild",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"babel-loader": "9.1.3",
|
|
28
28
|
"lodash": "^4.17.21",
|
|
29
29
|
"upath": "2.0.1",
|
|
30
|
-
"@rsbuild/shared": "0.0
|
|
30
|
+
"@rsbuild/shared": "1.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/lodash": "^4.14.200",
|
|
34
34
|
"@types/node": "^16",
|
|
35
|
-
"typescript": "^5.
|
|
36
|
-
"@rsbuild/
|
|
37
|
-
"@rsbuild/
|
|
35
|
+
"typescript": "^5.3.0",
|
|
36
|
+
"@rsbuild/core": "1.0.0",
|
|
37
|
+
"@rsbuild/test-helper": "1.0.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public",
|