@rspack/core 1.2.4 → 1.2.5

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.
@@ -1556,6 +1556,7 @@ type SharedOptimizationSplitChunksCacheGroup = {
1556
1556
  * The value is `10000` in others mode.
1557
1557
  */
1558
1558
  minSize?: OptimizationSplitChunksSizes;
1559
+ minSizeReduction?: OptimizationSplitChunksSizes;
1559
1560
  /** Maximum size, in bytes, for a chunk to be generated. */
1560
1561
  maxSize?: OptimizationSplitChunksSizes;
1561
1562
  /** Maximum size, in bytes, for a async chunk to be generated. */
package/dist/index.js CHANGED
@@ -9328,6 +9328,7 @@ function toRawSplitChunksOptions(sc, compiler) {
9328
9328
  cacheGroups = {},
9329
9329
  fallbackCacheGroup,
9330
9330
  minSize,
9331
+ minSizeReduction,
9331
9332
  maxSize,
9332
9333
  maxAsyncSize,
9333
9334
  maxInitialSize,
@@ -9344,6 +9345,7 @@ function toRawSplitChunksOptions(sc, compiler) {
9344
9345
  name: name3,
9345
9346
  chunks: chunks2,
9346
9347
  minSize: minSize2,
9348
+ minSizeReduction: minSizeReduction2,
9347
9349
  maxSize: maxSize2,
9348
9350
  maxAsyncSize: maxAsyncSize2,
9349
9351
  maxInitialSize: maxInitialSize2,
@@ -9355,6 +9357,7 @@ function toRawSplitChunksOptions(sc, compiler) {
9355
9357
  name: getName(name3),
9356
9358
  chunks: getChunks(chunks2),
9357
9359
  minSize: JsSplitChunkSizes.__to_binding(minSize2),
9360
+ minSizeReduction: JsSplitChunkSizes.__to_binding(minSizeReduction2),
9358
9361
  maxSize: JsSplitChunkSizes.__to_binding(maxSize2),
9359
9362
  maxAsyncSize: JsSplitChunkSizes.__to_binding(maxAsyncSize2),
9360
9363
  maxInitialSize: JsSplitChunkSizes.__to_binding(maxInitialSize2),
@@ -9367,6 +9370,7 @@ function toRawSplitChunksOptions(sc, compiler) {
9367
9370
  ...fallbackCacheGroup
9368
9371
  },
9369
9372
  minSize: JsSplitChunkSizes.__to_binding(minSize),
9373
+ minSizeReduction: JsSplitChunkSizes.__to_binding(minSizeReduction),
9370
9374
  maxSize: JsSplitChunkSizes.__to_binding(maxSize),
9371
9375
  maxAsyncSize: JsSplitChunkSizes.__to_binding(maxAsyncSize),
9372
9376
  maxInitialSize: JsSplitChunkSizes.__to_binding(maxInitialSize),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/core",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "The fast Rust-based web bundler with webpack-compatible API",
@@ -57,13 +57,13 @@
57
57
  "webpack-sources": "3.2.3",
58
58
  "zod": "^3.24.1",
59
59
  "zod-validation-error": "3.4.0",
60
- "@rspack/tracing": "1.2.4"
60
+ "@rspack/tracing": "1.2.5"
61
61
  },
62
62
  "dependencies": {
63
63
  "@module-federation/runtime-tools": "0.8.4",
64
64
  "@rspack/lite-tapable": "1.0.1",
65
65
  "caniuse-lite": "^1.0.30001616",
66
- "@rspack/binding": "1.2.4"
66
+ "@rspack/binding": "1.2.5"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@rspack/tracing": "^1.x",