@rsbuild/webpack 1.0.9 → 1.0.11
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 +4 -4
- package/dist/index.js +6 -6
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -2217,13 +2217,13 @@ function createNonTTYLogger() {
|
|
|
2217
2217
|
}
|
|
2218
2218
|
prevPercentage = 100;
|
|
2219
2219
|
if (hasErrors) {
|
|
2220
|
-
import_core5.logger.error(`
|
|
2220
|
+
import_core5.logger.error(`Built failed in ${compileTime} ${suffix}`);
|
|
2221
2221
|
} else {
|
|
2222
|
-
import_core5.logger.ready(`
|
|
2222
|
+
import_core5.logger.ready(`Built in ${compileTime} ${suffix}`);
|
|
2223
2223
|
}
|
|
2224
2224
|
} else if (current - prevPercentage > 10) {
|
|
2225
2225
|
prevPercentage = current;
|
|
2226
|
-
import_core5.logger.info(`
|
|
2226
|
+
import_core5.logger.info(`Build progress: ${current.toFixed(0)}% ${suffix}`);
|
|
2227
2227
|
}
|
|
2228
2228
|
};
|
|
2229
2229
|
return {
|
|
@@ -2313,7 +2313,7 @@ var init_ProgressPlugin = __esm({
|
|
|
2313
2313
|
startTime = null;
|
|
2314
2314
|
if (!this.hasCompileErrors) {
|
|
2315
2315
|
const suffix = this.id ? import_picocolors3.default.gray(` (${this.id})`) : "";
|
|
2316
|
-
import_core6.logger.ready(`
|
|
2316
|
+
import_core6.logger.ready(`Built in ${this.compileTime} ${suffix}`);
|
|
2317
2317
|
}
|
|
2318
2318
|
}
|
|
2319
2319
|
});
|
package/dist/index.js
CHANGED
|
@@ -46,11 +46,11 @@ var __publicField = (obj, key, value) => {
|
|
|
46
46
|
return value;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
// ../../../node_modules/.pnpm/@modern-js+module-tools@2.60.
|
|
49
|
+
// ../../../node_modules/.pnpm/@modern-js+module-tools@2.60.3_typescript@5.6.3/node_modules/@modern-js/module-tools/shims/esm.js
|
|
50
50
|
import path from "path";
|
|
51
51
|
import { fileURLToPath } from "url";
|
|
52
52
|
var init_esm = __esm({
|
|
53
|
-
"../../../node_modules/.pnpm/@modern-js+module-tools@2.60.
|
|
53
|
+
"../../../node_modules/.pnpm/@modern-js+module-tools@2.60.3_typescript@5.6.3/node_modules/@modern-js/module-tools/shims/esm.js"() {
|
|
54
54
|
"use strict";
|
|
55
55
|
}
|
|
56
56
|
});
|
|
@@ -2265,13 +2265,13 @@ function createNonTTYLogger() {
|
|
|
2265
2265
|
}
|
|
2266
2266
|
prevPercentage = 100;
|
|
2267
2267
|
if (hasErrors) {
|
|
2268
|
-
logger4.error(`
|
|
2268
|
+
logger4.error(`Built failed in ${compileTime} ${suffix}`);
|
|
2269
2269
|
} else {
|
|
2270
|
-
logger4.ready(`
|
|
2270
|
+
logger4.ready(`Built in ${compileTime} ${suffix}`);
|
|
2271
2271
|
}
|
|
2272
2272
|
} else if (current - prevPercentage > 10) {
|
|
2273
2273
|
prevPercentage = current;
|
|
2274
|
-
logger4.info(`
|
|
2274
|
+
logger4.info(`Build progress: ${current.toFixed(0)}% ${suffix}`);
|
|
2275
2275
|
}
|
|
2276
2276
|
};
|
|
2277
2277
|
return {
|
|
@@ -2360,7 +2360,7 @@ var init_ProgressPlugin = __esm({
|
|
|
2360
2360
|
startTime = null;
|
|
2361
2361
|
if (!this.hasCompileErrors) {
|
|
2362
2362
|
const suffix = this.id ? color2.gray(` (${this.id})`) : "";
|
|
2363
|
-
logger5.ready(`
|
|
2363
|
+
logger5.ready(`Built in ${this.compileTime} ${suffix}`);
|
|
2364
2364
|
}
|
|
2365
2365
|
}
|
|
2366
2366
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/webpack",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"homepage": "https://rsbuild.dev",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"ansi-escapes": "4.3.2",
|
|
37
37
|
"cli-truncate": "2.1.0",
|
|
38
38
|
"patch-console": "1.0.0",
|
|
39
|
-
"typescript": "^5.6.
|
|
40
|
-
"@rsbuild/core": "1.0.
|
|
39
|
+
"typescript": "^5.6.3",
|
|
40
|
+
"@rsbuild/core": "1.0.14",
|
|
41
41
|
"@scripts/test-helper": "1.0.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|