@rsbuild/plugin-source-build 0.7.1 → 0.7.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.cjs CHANGED
@@ -583,7 +583,7 @@ function pluginSourceBuild(options) {
583
583
  if (!api.context.tsconfigPath) {
584
584
  return;
585
585
  }
586
- config.resolve || (config.resolve = {});
586
+ config.resolve ||= {};
587
587
  config.resolve.tsConfig = {
588
588
  ...config.resolve.tsConfig,
589
589
  configFile: api.context.tsconfigPath,
package/dist/index.js CHANGED
@@ -29,11 +29,11 @@ var __privateMethod = (obj, member, method) => {
29
29
  return method;
30
30
  };
31
31
 
32
- // ../../node_modules/.pnpm/@modern-js+module-tools@2.50.0_eslint@9.3.0_typescript@5.4.5/node_modules/@modern-js/module-tools/shims/esm.js
32
+ // ../../node_modules/.pnpm/@modern-js+module-tools@2.50.0_eslint@9.4.0_typescript@5.4.5/node_modules/@modern-js/module-tools/shims/esm.js
33
33
  import { fileURLToPath } from "url";
34
34
  import path from "path";
35
35
  var init_esm = __esm({
36
- "../../node_modules/.pnpm/@modern-js+module-tools@2.50.0_eslint@9.3.0_typescript@5.4.5/node_modules/@modern-js/module-tools/shims/esm.js"() {
36
+ "../../node_modules/.pnpm/@modern-js+module-tools@2.50.0_eslint@9.4.0_typescript@5.4.5/node_modules/@modern-js/module-tools/shims/esm.js"() {
37
37
  "use strict";
38
38
  }
39
39
  });
@@ -582,7 +582,7 @@ function pluginSourceBuild(options) {
582
582
  if (!api.context.tsconfigPath) {
583
583
  return;
584
584
  }
585
- config.resolve || (config.resolve = {});
585
+ config.resolve ||= {};
586
586
  config.resolve.tsConfig = {
587
587
  ...config.resolve.tsConfig,
588
588
  configFile: api.context.tsconfigPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-source-build",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Source build plugin of Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -24,17 +24,17 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "fast-glob": "^3.3.2",
27
- "@rsbuild/shared": "0.7.1"
27
+ "@rsbuild/shared": "0.7.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@babel/core": "^7.24.5",
30
+ "@babel/core": "^7.24.6",
31
31
  "typescript": "^5.4.2",
32
- "@rsbuild/core": "0.7.1",
33
- "@rsbuild/plugin-babel": "0.7.1",
34
- "@scripts/test-helper": "0.7.1"
32
+ "@rsbuild/core": "0.7.2",
33
+ "@rsbuild/plugin-babel": "0.7.2",
34
+ "@scripts/test-helper": "0.7.2"
35
35
  },
36
36
  "peerDependencies": {
37
- "@rsbuild/core": "^0.7.1"
37
+ "@rsbuild/core": "^0.7.2"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public",