@rsbuild/core 2.0.0-rc.3 → 2.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.
@@ -1,4 +1,4 @@
1
- export declare const rspackMinVersion = "1.5.0";
1
+ export declare const rspackMinVersion = "2.0.0";
2
2
  /**
3
3
  * If the application overrides the Rspack version to a lower one,
4
4
  * we should check that the Rspack version is greater than the minimum
@@ -1098,8 +1098,8 @@ export interface OutputConfig {
1098
1098
  */
1099
1099
  target?: RsbuildTarget;
1100
1100
  /**
1101
- * At build time, prevent some `import` dependencies from being packed into bundles in
1102
- * your code, and instead fetch them externally at runtime.
1101
+ * Use this option to specify which modules should not be bundled by Rsbuild, and instead
1102
+ * use implementations provided by the external environment.
1103
1103
  * For more information, please see: [Rspack Externals](https://rspack.rs/config/externals)
1104
1104
  * @default undefined
1105
1105
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/core",
3
- "version": "2.0.0-rc.3",
3
+ "version": "2.0.0",
4
4
  "description": "The Rspack-based build tool.",
5
5
  "homepage": "https://rsbuild.rs",
6
6
  "bugs": {
@@ -36,7 +36,7 @@
36
36
  "types.d.ts"
37
37
  ],
38
38
  "dependencies": {
39
- "@rspack/core": "2.0.0-rc.2",
39
+ "@rspack/core": "^2.0.0",
40
40
  "@swc/helpers": "^0.5.21"
41
41
  },
42
42
  "peerDependencies": {
@@ -50,7 +50,7 @@
50
50
  "devDependencies": {
51
51
  "@jridgewell/remapping": "^2.3.5",
52
52
  "@jridgewell/trace-mapping": "^0.3.31",
53
- "@rslib/core": "0.21.0",
53
+ "@rslib/core": "0.21.2",
54
54
  "@types/cors": "^2.8.19",
55
55
  "@types/node": "^24.12.2",
56
56
  "@types/on-finished": "2.3.5",
@@ -63,16 +63,16 @@
63
63
  "cors": "^2.8.6",
64
64
  "css-loader": "7.1.4",
65
65
  "deepmerge": "^4.3.1",
66
- "dotenv-expand": "12.0.3",
66
+ "dotenv-expand": "13.0.0",
67
67
  "html-rspack-plugin": "6.1.8",
68
68
  "http-proxy-middleware": "4.0.0-beta.3",
69
69
  "jiti": "^2.6.1",
70
70
  "launch-editor-middleware": "^2.13.2",
71
- "memfs": "^4.57.1",
71
+ "memfs": "^4.57.2",
72
72
  "mrmime": "^2.0.1",
73
73
  "on-finished": "2.4.1",
74
74
  "open": "^11.0.0",
75
- "postcss": "^8.5.9",
75
+ "postcss": "^8.5.10",
76
76
  "postcss-load-config": "6.0.1",
77
77
  "postcss-loader": "8.2.1",
78
78
  "prebundle": "1.6.4",
@@ -86,7 +86,7 @@
86
86
  "style-loader": "^4.0.0",
87
87
  "supports-color": "^10.2.2",
88
88
  "tinyglobby": "^0.2.16",
89
- "typescript": "^6.0.2",
89
+ "typescript": "^6.0.3",
90
90
  "webpack-merge": "6.0.1",
91
91
  "ws": "^8.20.0"
92
92
  },