@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 CHANGED
@@ -157,7 +157,7 @@ var DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS = {
157
157
  isTSX: true
158
158
  };
159
159
  var pluginBabel = (options = {}) => ({
160
- name: "plugin-babel",
160
+ name: "rsbuild:babel",
161
161
  setup(api) {
162
162
  if (api.context.bundlerType === "webpack") {
163
163
  return;
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.2.2/node_modules/@modern-js/module-tools/shims/esm.js
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: "plugin-babel",
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.28",
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.28"
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.2.2",
36
- "@rsbuild/test-helper": "0.0.28",
37
- "@rsbuild/core": "0.0.28"
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",