@rspack/core 0.4.2 → 0.4.3

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.
Files changed (38) hide show
  1. package/dist/Chunk.d.ts +4 -1
  2. package/dist/Chunk.d.ts.map +1 -1
  3. package/dist/Chunk.js +9 -0
  4. package/dist/Chunk.js.map +1 -1
  5. package/dist/ChunkGraph.d.ts +5 -2
  6. package/dist/ChunkGraph.d.ts.map +1 -1
  7. package/dist/ChunkGraph.js +12 -2
  8. package/dist/ChunkGraph.js.map +1 -1
  9. package/dist/Compilation.js +2 -2
  10. package/dist/Compilation.js.map +1 -1
  11. package/dist/Module.d.ts +1 -0
  12. package/dist/Module.d.ts.map +1 -1
  13. package/dist/Module.js +3 -0
  14. package/dist/Module.js.map +1 -1
  15. package/dist/builtin-plugin/SplitChunksPlugin.d.ts +10 -0
  16. package/dist/builtin-plugin/SplitChunksPlugin.d.ts.map +1 -1
  17. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -4
  18. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts.map +1 -1
  19. package/dist/builtin-plugin/WorkerPlugin.d.ts +13 -0
  20. package/dist/builtin-plugin/WorkerPlugin.d.ts.map +1 -0
  21. package/dist/builtin-plugin/WorkerPlugin.js +29 -0
  22. package/dist/builtin-plugin/WorkerPlugin.js.map +1 -0
  23. package/dist/builtin-plugin/base.d.ts +1 -0
  24. package/dist/builtin-plugin/base.d.ts.map +1 -1
  25. package/dist/builtin-plugin/base.js +1 -0
  26. package/dist/builtin-plugin/base.js.map +1 -1
  27. package/dist/config/defaults.js +2 -2
  28. package/dist/config/defaults.js.map +1 -1
  29. package/dist/config/zod.d.ts +99 -0
  30. package/dist/config/zod.d.ts.map +1 -1
  31. package/dist/config/zod.js +6 -2
  32. package/dist/config/zod.js.map +1 -1
  33. package/dist/exports.d.ts +10 -0
  34. package/dist/exports.d.ts.map +1 -1
  35. package/dist/rspackOptionsApply.d.ts.map +1 -1
  36. package/dist/rspackOptionsApply.js +2 -0
  37. package/dist/rspackOptionsApply.js.map +1 -1
  38. package/package.json +6 -6
@@ -2505,9 +2505,11 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
2505
2505
  maxSize: z.ZodOptional<z.ZodNumber>;
2506
2506
  maxAsyncSize: z.ZodOptional<z.ZodNumber>;
2507
2507
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
2508
+ automaticNameDelimiter: z.ZodOptional<z.ZodString>;
2508
2509
  test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
2509
2510
  priority: z.ZodOptional<z.ZodNumber>;
2510
2511
  enforce: z.ZodOptional<z.ZodBoolean>;
2512
+ filename: z.ZodOptional<z.ZodString>;
2511
2513
  reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
2512
2514
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2513
2515
  idHint: z.ZodOptional<z.ZodString>;
@@ -2519,9 +2521,11 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
2519
2521
  maxSize?: number | undefined;
2520
2522
  maxAsyncSize?: number | undefined;
2521
2523
  maxInitialSize?: number | undefined;
2524
+ automaticNameDelimiter?: string | undefined;
2522
2525
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2523
2526
  priority?: number | undefined;
2524
2527
  enforce?: boolean | undefined;
2528
+ filename?: string | undefined;
2525
2529
  reuseExistingChunk?: boolean | undefined;
2526
2530
  type?: string | RegExp | undefined;
2527
2531
  idHint?: string | undefined;
@@ -2533,9 +2537,11 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
2533
2537
  maxSize?: number | undefined;
2534
2538
  maxAsyncSize?: number | undefined;
2535
2539
  maxInitialSize?: number | undefined;
2540
+ automaticNameDelimiter?: string | undefined;
2536
2541
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2537
2542
  priority?: number | undefined;
2538
2543
  enforce?: boolean | undefined;
2544
+ filename?: string | undefined;
2539
2545
  reuseExistingChunk?: boolean | undefined;
2540
2546
  type?: string | RegExp | undefined;
2541
2547
  idHint?: string | undefined;
@@ -2549,6 +2555,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2549
2555
  maxSize: z.ZodOptional<z.ZodNumber>;
2550
2556
  maxAsyncSize: z.ZodOptional<z.ZodNumber>;
2551
2557
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
2558
+ automaticNameDelimiter: z.ZodOptional<z.ZodString>;
2552
2559
  cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
2553
2560
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2554
2561
  minChunks: z.ZodOptional<z.ZodNumber>;
@@ -2557,9 +2564,11 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2557
2564
  maxSize: z.ZodOptional<z.ZodNumber>;
2558
2565
  maxAsyncSize: z.ZodOptional<z.ZodNumber>;
2559
2566
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
2567
+ automaticNameDelimiter: z.ZodOptional<z.ZodString>;
2560
2568
  test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
2561
2569
  priority: z.ZodOptional<z.ZodNumber>;
2562
2570
  enforce: z.ZodOptional<z.ZodBoolean>;
2571
+ filename: z.ZodOptional<z.ZodString>;
2563
2572
  reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
2564
2573
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2565
2574
  idHint: z.ZodOptional<z.ZodString>;
@@ -2571,9 +2580,11 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2571
2580
  maxSize?: number | undefined;
2572
2581
  maxAsyncSize?: number | undefined;
2573
2582
  maxInitialSize?: number | undefined;
2583
+ automaticNameDelimiter?: string | undefined;
2574
2584
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2575
2585
  priority?: number | undefined;
2576
2586
  enforce?: boolean | undefined;
2587
+ filename?: string | undefined;
2577
2588
  reuseExistingChunk?: boolean | undefined;
2578
2589
  type?: string | RegExp | undefined;
2579
2590
  idHint?: string | undefined;
@@ -2585,9 +2596,11 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2585
2596
  maxSize?: number | undefined;
2586
2597
  maxAsyncSize?: number | undefined;
2587
2598
  maxInitialSize?: number | undefined;
2599
+ automaticNameDelimiter?: string | undefined;
2588
2600
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2589
2601
  priority?: number | undefined;
2590
2602
  enforce?: boolean | undefined;
2603
+ filename?: string | undefined;
2591
2604
  reuseExistingChunk?: boolean | undefined;
2592
2605
  type?: string | RegExp | undefined;
2593
2606
  idHint?: string | undefined;
@@ -2600,19 +2613,23 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2600
2613
  maxSize: z.ZodOptional<z.ZodNumber>;
2601
2614
  maxAsyncSize: z.ZodOptional<z.ZodNumber>;
2602
2615
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
2616
+ automaticNameDelimiter: z.ZodOptional<z.ZodString>;
2603
2617
  }, "strict", z.ZodTypeAny, {
2604
2618
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2605
2619
  minSize?: number | undefined;
2606
2620
  maxSize?: number | undefined;
2607
2621
  maxAsyncSize?: number | undefined;
2608
2622
  maxInitialSize?: number | undefined;
2623
+ automaticNameDelimiter?: string | undefined;
2609
2624
  }, {
2610
2625
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2611
2626
  minSize?: number | undefined;
2612
2627
  maxSize?: number | undefined;
2613
2628
  maxAsyncSize?: number | undefined;
2614
2629
  maxInitialSize?: number | undefined;
2630
+ automaticNameDelimiter?: string | undefined;
2615
2631
  }>>;
2632
+ hidePathInfo: z.ZodOptional<z.ZodBoolean>;
2616
2633
  }, "strict", z.ZodTypeAny, {
2617
2634
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2618
2635
  minChunks?: number | undefined;
@@ -2621,6 +2638,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2621
2638
  maxSize?: number | undefined;
2622
2639
  maxAsyncSize?: number | undefined;
2623
2640
  maxInitialSize?: number | undefined;
2641
+ automaticNameDelimiter?: string | undefined;
2624
2642
  cacheGroups?: Record<string, false | {
2625
2643
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2626
2644
  minChunks?: number | undefined;
@@ -2629,9 +2647,11 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2629
2647
  maxSize?: number | undefined;
2630
2648
  maxAsyncSize?: number | undefined;
2631
2649
  maxInitialSize?: number | undefined;
2650
+ automaticNameDelimiter?: string | undefined;
2632
2651
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2633
2652
  priority?: number | undefined;
2634
2653
  enforce?: boolean | undefined;
2654
+ filename?: string | undefined;
2635
2655
  reuseExistingChunk?: boolean | undefined;
2636
2656
  type?: string | RegExp | undefined;
2637
2657
  idHint?: string | undefined;
@@ -2644,7 +2664,9 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2644
2664
  maxSize?: number | undefined;
2645
2665
  maxAsyncSize?: number | undefined;
2646
2666
  maxInitialSize?: number | undefined;
2667
+ automaticNameDelimiter?: string | undefined;
2647
2668
  } | undefined;
2669
+ hidePathInfo?: boolean | undefined;
2648
2670
  }, {
2649
2671
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2650
2672
  minChunks?: number | undefined;
@@ -2653,6 +2675,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2653
2675
  maxSize?: number | undefined;
2654
2676
  maxAsyncSize?: number | undefined;
2655
2677
  maxInitialSize?: number | undefined;
2678
+ automaticNameDelimiter?: string | undefined;
2656
2679
  cacheGroups?: Record<string, false | {
2657
2680
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2658
2681
  minChunks?: number | undefined;
@@ -2661,9 +2684,11 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2661
2684
  maxSize?: number | undefined;
2662
2685
  maxAsyncSize?: number | undefined;
2663
2686
  maxInitialSize?: number | undefined;
2687
+ automaticNameDelimiter?: string | undefined;
2664
2688
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2665
2689
  priority?: number | undefined;
2666
2690
  enforce?: boolean | undefined;
2691
+ filename?: string | undefined;
2667
2692
  reuseExistingChunk?: boolean | undefined;
2668
2693
  type?: string | RegExp | undefined;
2669
2694
  idHint?: string | undefined;
@@ -2676,7 +2701,9 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
2676
2701
  maxSize?: number | undefined;
2677
2702
  maxAsyncSize?: number | undefined;
2678
2703
  maxInitialSize?: number | undefined;
2704
+ automaticNameDelimiter?: string | undefined;
2679
2705
  } | undefined;
2706
+ hidePathInfo?: boolean | undefined;
2680
2707
  }>;
2681
2708
  export type OptimizationSplitChunksOptions = z.infer<typeof optimizationSplitChunksOptions>;
2682
2709
  declare const optimization: z.ZodObject<{
@@ -2693,6 +2720,7 @@ declare const optimization: z.ZodObject<{
2693
2720
  maxSize: z.ZodOptional<z.ZodNumber>;
2694
2721
  maxAsyncSize: z.ZodOptional<z.ZodNumber>;
2695
2722
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
2723
+ automaticNameDelimiter: z.ZodOptional<z.ZodString>;
2696
2724
  cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
2697
2725
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2698
2726
  minChunks: z.ZodOptional<z.ZodNumber>;
@@ -2701,9 +2729,11 @@ declare const optimization: z.ZodObject<{
2701
2729
  maxSize: z.ZodOptional<z.ZodNumber>;
2702
2730
  maxAsyncSize: z.ZodOptional<z.ZodNumber>;
2703
2731
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
2732
+ automaticNameDelimiter: z.ZodOptional<z.ZodString>;
2704
2733
  test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
2705
2734
  priority: z.ZodOptional<z.ZodNumber>;
2706
2735
  enforce: z.ZodOptional<z.ZodBoolean>;
2736
+ filename: z.ZodOptional<z.ZodString>;
2707
2737
  reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
2708
2738
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2709
2739
  idHint: z.ZodOptional<z.ZodString>;
@@ -2715,9 +2745,11 @@ declare const optimization: z.ZodObject<{
2715
2745
  maxSize?: number | undefined;
2716
2746
  maxAsyncSize?: number | undefined;
2717
2747
  maxInitialSize?: number | undefined;
2748
+ automaticNameDelimiter?: string | undefined;
2718
2749
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2719
2750
  priority?: number | undefined;
2720
2751
  enforce?: boolean | undefined;
2752
+ filename?: string | undefined;
2721
2753
  reuseExistingChunk?: boolean | undefined;
2722
2754
  type?: string | RegExp | undefined;
2723
2755
  idHint?: string | undefined;
@@ -2729,9 +2761,11 @@ declare const optimization: z.ZodObject<{
2729
2761
  maxSize?: number | undefined;
2730
2762
  maxAsyncSize?: number | undefined;
2731
2763
  maxInitialSize?: number | undefined;
2764
+ automaticNameDelimiter?: string | undefined;
2732
2765
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2733
2766
  priority?: number | undefined;
2734
2767
  enforce?: boolean | undefined;
2768
+ filename?: string | undefined;
2735
2769
  reuseExistingChunk?: boolean | undefined;
2736
2770
  type?: string | RegExp | undefined;
2737
2771
  idHint?: string | undefined;
@@ -2744,19 +2778,23 @@ declare const optimization: z.ZodObject<{
2744
2778
  maxSize: z.ZodOptional<z.ZodNumber>;
2745
2779
  maxAsyncSize: z.ZodOptional<z.ZodNumber>;
2746
2780
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
2781
+ automaticNameDelimiter: z.ZodOptional<z.ZodString>;
2747
2782
  }, "strict", z.ZodTypeAny, {
2748
2783
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2749
2784
  minSize?: number | undefined;
2750
2785
  maxSize?: number | undefined;
2751
2786
  maxAsyncSize?: number | undefined;
2752
2787
  maxInitialSize?: number | undefined;
2788
+ automaticNameDelimiter?: string | undefined;
2753
2789
  }, {
2754
2790
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2755
2791
  minSize?: number | undefined;
2756
2792
  maxSize?: number | undefined;
2757
2793
  maxAsyncSize?: number | undefined;
2758
2794
  maxInitialSize?: number | undefined;
2795
+ automaticNameDelimiter?: string | undefined;
2759
2796
  }>>;
2797
+ hidePathInfo: z.ZodOptional<z.ZodBoolean>;
2760
2798
  }, "strict", z.ZodTypeAny, {
2761
2799
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2762
2800
  minChunks?: number | undefined;
@@ -2765,6 +2803,7 @@ declare const optimization: z.ZodObject<{
2765
2803
  maxSize?: number | undefined;
2766
2804
  maxAsyncSize?: number | undefined;
2767
2805
  maxInitialSize?: number | undefined;
2806
+ automaticNameDelimiter?: string | undefined;
2768
2807
  cacheGroups?: Record<string, false | {
2769
2808
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2770
2809
  minChunks?: number | undefined;
@@ -2773,9 +2812,11 @@ declare const optimization: z.ZodObject<{
2773
2812
  maxSize?: number | undefined;
2774
2813
  maxAsyncSize?: number | undefined;
2775
2814
  maxInitialSize?: number | undefined;
2815
+ automaticNameDelimiter?: string | undefined;
2776
2816
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2777
2817
  priority?: number | undefined;
2778
2818
  enforce?: boolean | undefined;
2819
+ filename?: string | undefined;
2779
2820
  reuseExistingChunk?: boolean | undefined;
2780
2821
  type?: string | RegExp | undefined;
2781
2822
  idHint?: string | undefined;
@@ -2788,7 +2829,9 @@ declare const optimization: z.ZodObject<{
2788
2829
  maxSize?: number | undefined;
2789
2830
  maxAsyncSize?: number | undefined;
2790
2831
  maxInitialSize?: number | undefined;
2832
+ automaticNameDelimiter?: string | undefined;
2791
2833
  } | undefined;
2834
+ hidePathInfo?: boolean | undefined;
2792
2835
  }, {
2793
2836
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2794
2837
  minChunks?: number | undefined;
@@ -2797,6 +2840,7 @@ declare const optimization: z.ZodObject<{
2797
2840
  maxSize?: number | undefined;
2798
2841
  maxAsyncSize?: number | undefined;
2799
2842
  maxInitialSize?: number | undefined;
2843
+ automaticNameDelimiter?: string | undefined;
2800
2844
  cacheGroups?: Record<string, false | {
2801
2845
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2802
2846
  minChunks?: number | undefined;
@@ -2805,9 +2849,11 @@ declare const optimization: z.ZodObject<{
2805
2849
  maxSize?: number | undefined;
2806
2850
  maxAsyncSize?: number | undefined;
2807
2851
  maxInitialSize?: number | undefined;
2852
+ automaticNameDelimiter?: string | undefined;
2808
2853
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2809
2854
  priority?: number | undefined;
2810
2855
  enforce?: boolean | undefined;
2856
+ filename?: string | undefined;
2811
2857
  reuseExistingChunk?: boolean | undefined;
2812
2858
  type?: string | RegExp | undefined;
2813
2859
  idHint?: string | undefined;
@@ -2820,7 +2866,9 @@ declare const optimization: z.ZodObject<{
2820
2866
  maxSize?: number | undefined;
2821
2867
  maxAsyncSize?: number | undefined;
2822
2868
  maxInitialSize?: number | undefined;
2869
+ automaticNameDelimiter?: string | undefined;
2823
2870
  } | undefined;
2871
+ hidePathInfo?: boolean | undefined;
2824
2872
  }>]>>;
2825
2873
  runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
2826
2874
  name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>]>>;
@@ -2852,6 +2900,7 @@ declare const optimization: z.ZodObject<{
2852
2900
  maxSize?: number | undefined;
2853
2901
  maxAsyncSize?: number | undefined;
2854
2902
  maxInitialSize?: number | undefined;
2903
+ automaticNameDelimiter?: string | undefined;
2855
2904
  cacheGroups?: Record<string, false | {
2856
2905
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2857
2906
  minChunks?: number | undefined;
@@ -2860,9 +2909,11 @@ declare const optimization: z.ZodObject<{
2860
2909
  maxSize?: number | undefined;
2861
2910
  maxAsyncSize?: number | undefined;
2862
2911
  maxInitialSize?: number | undefined;
2912
+ automaticNameDelimiter?: string | undefined;
2863
2913
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2864
2914
  priority?: number | undefined;
2865
2915
  enforce?: boolean | undefined;
2916
+ filename?: string | undefined;
2866
2917
  reuseExistingChunk?: boolean | undefined;
2867
2918
  type?: string | RegExp | undefined;
2868
2919
  idHint?: string | undefined;
@@ -2875,7 +2926,9 @@ declare const optimization: z.ZodObject<{
2875
2926
  maxSize?: number | undefined;
2876
2927
  maxAsyncSize?: number | undefined;
2877
2928
  maxInitialSize?: number | undefined;
2929
+ automaticNameDelimiter?: string | undefined;
2878
2930
  } | undefined;
2931
+ hidePathInfo?: boolean | undefined;
2879
2932
  } | undefined;
2880
2933
  runtimeChunk?: boolean | "multiple" | "single" | {
2881
2934
  name?: string | ((...args: unknown[]) => string | undefined) | undefined;
@@ -2903,6 +2956,7 @@ declare const optimization: z.ZodObject<{
2903
2956
  maxSize?: number | undefined;
2904
2957
  maxAsyncSize?: number | undefined;
2905
2958
  maxInitialSize?: number | undefined;
2959
+ automaticNameDelimiter?: string | undefined;
2906
2960
  cacheGroups?: Record<string, false | {
2907
2961
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
2908
2962
  minChunks?: number | undefined;
@@ -2911,9 +2965,11 @@ declare const optimization: z.ZodObject<{
2911
2965
  maxSize?: number | undefined;
2912
2966
  maxAsyncSize?: number | undefined;
2913
2967
  maxInitialSize?: number | undefined;
2968
+ automaticNameDelimiter?: string | undefined;
2914
2969
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
2915
2970
  priority?: number | undefined;
2916
2971
  enforce?: boolean | undefined;
2972
+ filename?: string | undefined;
2917
2973
  reuseExistingChunk?: boolean | undefined;
2918
2974
  type?: string | RegExp | undefined;
2919
2975
  idHint?: string | undefined;
@@ -2926,7 +2982,9 @@ declare const optimization: z.ZodObject<{
2926
2982
  maxSize?: number | undefined;
2927
2983
  maxAsyncSize?: number | undefined;
2928
2984
  maxInitialSize?: number | undefined;
2985
+ automaticNameDelimiter?: string | undefined;
2929
2986
  } | undefined;
2987
+ hidePathInfo?: boolean | undefined;
2930
2988
  } | undefined;
2931
2989
  runtimeChunk?: boolean | "multiple" | "single" | {
2932
2990
  name?: string | ((...args: unknown[]) => string | undefined) | undefined;
@@ -3848,6 +3906,7 @@ export declare const rspackOptions: z.ZodObject<{
3848
3906
  maxSize: z.ZodOptional<z.ZodNumber>;
3849
3907
  maxAsyncSize: z.ZodOptional<z.ZodNumber>;
3850
3908
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
3909
+ automaticNameDelimiter: z.ZodOptional<z.ZodString>;
3851
3910
  cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
3852
3911
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
3853
3912
  minChunks: z.ZodOptional<z.ZodNumber>;
@@ -3856,9 +3915,11 @@ export declare const rspackOptions: z.ZodObject<{
3856
3915
  maxSize: z.ZodOptional<z.ZodNumber>;
3857
3916
  maxAsyncSize: z.ZodOptional<z.ZodNumber>;
3858
3917
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
3918
+ automaticNameDelimiter: z.ZodOptional<z.ZodString>;
3859
3919
  test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
3860
3920
  priority: z.ZodOptional<z.ZodNumber>;
3861
3921
  enforce: z.ZodOptional<z.ZodBoolean>;
3922
+ filename: z.ZodOptional<z.ZodString>;
3862
3923
  reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
3863
3924
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
3864
3925
  idHint: z.ZodOptional<z.ZodString>;
@@ -3870,9 +3931,11 @@ export declare const rspackOptions: z.ZodObject<{
3870
3931
  maxSize?: number | undefined;
3871
3932
  maxAsyncSize?: number | undefined;
3872
3933
  maxInitialSize?: number | undefined;
3934
+ automaticNameDelimiter?: string | undefined;
3873
3935
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
3874
3936
  priority?: number | undefined;
3875
3937
  enforce?: boolean | undefined;
3938
+ filename?: string | undefined;
3876
3939
  reuseExistingChunk?: boolean | undefined;
3877
3940
  type?: string | RegExp | undefined;
3878
3941
  idHint?: string | undefined;
@@ -3884,9 +3947,11 @@ export declare const rspackOptions: z.ZodObject<{
3884
3947
  maxSize?: number | undefined;
3885
3948
  maxAsyncSize?: number | undefined;
3886
3949
  maxInitialSize?: number | undefined;
3950
+ automaticNameDelimiter?: string | undefined;
3887
3951
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
3888
3952
  priority?: number | undefined;
3889
3953
  enforce?: boolean | undefined;
3954
+ filename?: string | undefined;
3890
3955
  reuseExistingChunk?: boolean | undefined;
3891
3956
  type?: string | RegExp | undefined;
3892
3957
  idHint?: string | undefined;
@@ -3899,19 +3964,23 @@ export declare const rspackOptions: z.ZodObject<{
3899
3964
  maxSize: z.ZodOptional<z.ZodNumber>;
3900
3965
  maxAsyncSize: z.ZodOptional<z.ZodNumber>;
3901
3966
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
3967
+ automaticNameDelimiter: z.ZodOptional<z.ZodString>;
3902
3968
  }, "strict", z.ZodTypeAny, {
3903
3969
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
3904
3970
  minSize?: number | undefined;
3905
3971
  maxSize?: number | undefined;
3906
3972
  maxAsyncSize?: number | undefined;
3907
3973
  maxInitialSize?: number | undefined;
3974
+ automaticNameDelimiter?: string | undefined;
3908
3975
  }, {
3909
3976
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
3910
3977
  minSize?: number | undefined;
3911
3978
  maxSize?: number | undefined;
3912
3979
  maxAsyncSize?: number | undefined;
3913
3980
  maxInitialSize?: number | undefined;
3981
+ automaticNameDelimiter?: string | undefined;
3914
3982
  }>>;
3983
+ hidePathInfo: z.ZodOptional<z.ZodBoolean>;
3915
3984
  }, "strict", z.ZodTypeAny, {
3916
3985
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
3917
3986
  minChunks?: number | undefined;
@@ -3920,6 +3989,7 @@ export declare const rspackOptions: z.ZodObject<{
3920
3989
  maxSize?: number | undefined;
3921
3990
  maxAsyncSize?: number | undefined;
3922
3991
  maxInitialSize?: number | undefined;
3992
+ automaticNameDelimiter?: string | undefined;
3923
3993
  cacheGroups?: Record<string, false | {
3924
3994
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
3925
3995
  minChunks?: number | undefined;
@@ -3928,9 +3998,11 @@ export declare const rspackOptions: z.ZodObject<{
3928
3998
  maxSize?: number | undefined;
3929
3999
  maxAsyncSize?: number | undefined;
3930
4000
  maxInitialSize?: number | undefined;
4001
+ automaticNameDelimiter?: string | undefined;
3931
4002
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
3932
4003
  priority?: number | undefined;
3933
4004
  enforce?: boolean | undefined;
4005
+ filename?: string | undefined;
3934
4006
  reuseExistingChunk?: boolean | undefined;
3935
4007
  type?: string | RegExp | undefined;
3936
4008
  idHint?: string | undefined;
@@ -3943,7 +4015,9 @@ export declare const rspackOptions: z.ZodObject<{
3943
4015
  maxSize?: number | undefined;
3944
4016
  maxAsyncSize?: number | undefined;
3945
4017
  maxInitialSize?: number | undefined;
4018
+ automaticNameDelimiter?: string | undefined;
3946
4019
  } | undefined;
4020
+ hidePathInfo?: boolean | undefined;
3947
4021
  }, {
3948
4022
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
3949
4023
  minChunks?: number | undefined;
@@ -3952,6 +4026,7 @@ export declare const rspackOptions: z.ZodObject<{
3952
4026
  maxSize?: number | undefined;
3953
4027
  maxAsyncSize?: number | undefined;
3954
4028
  maxInitialSize?: number | undefined;
4029
+ automaticNameDelimiter?: string | undefined;
3955
4030
  cacheGroups?: Record<string, false | {
3956
4031
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
3957
4032
  minChunks?: number | undefined;
@@ -3960,9 +4035,11 @@ export declare const rspackOptions: z.ZodObject<{
3960
4035
  maxSize?: number | undefined;
3961
4036
  maxAsyncSize?: number | undefined;
3962
4037
  maxInitialSize?: number | undefined;
4038
+ automaticNameDelimiter?: string | undefined;
3963
4039
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
3964
4040
  priority?: number | undefined;
3965
4041
  enforce?: boolean | undefined;
4042
+ filename?: string | undefined;
3966
4043
  reuseExistingChunk?: boolean | undefined;
3967
4044
  type?: string | RegExp | undefined;
3968
4045
  idHint?: string | undefined;
@@ -3975,7 +4052,9 @@ export declare const rspackOptions: z.ZodObject<{
3975
4052
  maxSize?: number | undefined;
3976
4053
  maxAsyncSize?: number | undefined;
3977
4054
  maxInitialSize?: number | undefined;
4055
+ automaticNameDelimiter?: string | undefined;
3978
4056
  } | undefined;
4057
+ hidePathInfo?: boolean | undefined;
3979
4058
  }>]>>;
3980
4059
  runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
3981
4060
  name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>]>>;
@@ -4007,6 +4086,7 @@ export declare const rspackOptions: z.ZodObject<{
4007
4086
  maxSize?: number | undefined;
4008
4087
  maxAsyncSize?: number | undefined;
4009
4088
  maxInitialSize?: number | undefined;
4089
+ automaticNameDelimiter?: string | undefined;
4010
4090
  cacheGroups?: Record<string, false | {
4011
4091
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
4012
4092
  minChunks?: number | undefined;
@@ -4015,9 +4095,11 @@ export declare const rspackOptions: z.ZodObject<{
4015
4095
  maxSize?: number | undefined;
4016
4096
  maxAsyncSize?: number | undefined;
4017
4097
  maxInitialSize?: number | undefined;
4098
+ automaticNameDelimiter?: string | undefined;
4018
4099
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4019
4100
  priority?: number | undefined;
4020
4101
  enforce?: boolean | undefined;
4102
+ filename?: string | undefined;
4021
4103
  reuseExistingChunk?: boolean | undefined;
4022
4104
  type?: string | RegExp | undefined;
4023
4105
  idHint?: string | undefined;
@@ -4030,7 +4112,9 @@ export declare const rspackOptions: z.ZodObject<{
4030
4112
  maxSize?: number | undefined;
4031
4113
  maxAsyncSize?: number | undefined;
4032
4114
  maxInitialSize?: number | undefined;
4115
+ automaticNameDelimiter?: string | undefined;
4033
4116
  } | undefined;
4117
+ hidePathInfo?: boolean | undefined;
4034
4118
  } | undefined;
4035
4119
  runtimeChunk?: boolean | "multiple" | "single" | {
4036
4120
  name?: string | ((...args: unknown[]) => string | undefined) | undefined;
@@ -4058,6 +4142,7 @@ export declare const rspackOptions: z.ZodObject<{
4058
4142
  maxSize?: number | undefined;
4059
4143
  maxAsyncSize?: number | undefined;
4060
4144
  maxInitialSize?: number | undefined;
4145
+ automaticNameDelimiter?: string | undefined;
4061
4146
  cacheGroups?: Record<string, false | {
4062
4147
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
4063
4148
  minChunks?: number | undefined;
@@ -4066,9 +4151,11 @@ export declare const rspackOptions: z.ZodObject<{
4066
4151
  maxSize?: number | undefined;
4067
4152
  maxAsyncSize?: number | undefined;
4068
4153
  maxInitialSize?: number | undefined;
4154
+ automaticNameDelimiter?: string | undefined;
4069
4155
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4070
4156
  priority?: number | undefined;
4071
4157
  enforce?: boolean | undefined;
4158
+ filename?: string | undefined;
4072
4159
  reuseExistingChunk?: boolean | undefined;
4073
4160
  type?: string | RegExp | undefined;
4074
4161
  idHint?: string | undefined;
@@ -4081,7 +4168,9 @@ export declare const rspackOptions: z.ZodObject<{
4081
4168
  maxSize?: number | undefined;
4082
4169
  maxAsyncSize?: number | undefined;
4083
4170
  maxInitialSize?: number | undefined;
4171
+ automaticNameDelimiter?: string | undefined;
4084
4172
  } | undefined;
4173
+ hidePathInfo?: boolean | undefined;
4085
4174
  } | undefined;
4086
4175
  runtimeChunk?: boolean | "multiple" | "single" | {
4087
4176
  name?: string | ((...args: unknown[]) => string | undefined) | undefined;
@@ -4547,6 +4636,7 @@ export declare const rspackOptions: z.ZodObject<{
4547
4636
  maxSize?: number | undefined;
4548
4637
  maxAsyncSize?: number | undefined;
4549
4638
  maxInitialSize?: number | undefined;
4639
+ automaticNameDelimiter?: string | undefined;
4550
4640
  cacheGroups?: Record<string, false | {
4551
4641
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
4552
4642
  minChunks?: number | undefined;
@@ -4555,9 +4645,11 @@ export declare const rspackOptions: z.ZodObject<{
4555
4645
  maxSize?: number | undefined;
4556
4646
  maxAsyncSize?: number | undefined;
4557
4647
  maxInitialSize?: number | undefined;
4648
+ automaticNameDelimiter?: string | undefined;
4558
4649
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4559
4650
  priority?: number | undefined;
4560
4651
  enforce?: boolean | undefined;
4652
+ filename?: string | undefined;
4561
4653
  reuseExistingChunk?: boolean | undefined;
4562
4654
  type?: string | RegExp | undefined;
4563
4655
  idHint?: string | undefined;
@@ -4570,7 +4662,9 @@ export declare const rspackOptions: z.ZodObject<{
4570
4662
  maxSize?: number | undefined;
4571
4663
  maxAsyncSize?: number | undefined;
4572
4664
  maxInitialSize?: number | undefined;
4665
+ automaticNameDelimiter?: string | undefined;
4573
4666
  } | undefined;
4667
+ hidePathInfo?: boolean | undefined;
4574
4668
  } | undefined;
4575
4669
  runtimeChunk?: boolean | "multiple" | "single" | {
4576
4670
  name?: string | ((...args: unknown[]) => string | undefined) | undefined;
@@ -4856,6 +4950,7 @@ export declare const rspackOptions: z.ZodObject<{
4856
4950
  maxSize?: number | undefined;
4857
4951
  maxAsyncSize?: number | undefined;
4858
4952
  maxInitialSize?: number | undefined;
4953
+ automaticNameDelimiter?: string | undefined;
4859
4954
  cacheGroups?: Record<string, false | {
4860
4955
  chunks?: RegExp | "async" | "initial" | "all" | undefined;
4861
4956
  minChunks?: number | undefined;
@@ -4864,9 +4959,11 @@ export declare const rspackOptions: z.ZodObject<{
4864
4959
  maxSize?: number | undefined;
4865
4960
  maxAsyncSize?: number | undefined;
4866
4961
  maxInitialSize?: number | undefined;
4962
+ automaticNameDelimiter?: string | undefined;
4867
4963
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4868
4964
  priority?: number | undefined;
4869
4965
  enforce?: boolean | undefined;
4966
+ filename?: string | undefined;
4870
4967
  reuseExistingChunk?: boolean | undefined;
4871
4968
  type?: string | RegExp | undefined;
4872
4969
  idHint?: string | undefined;
@@ -4879,7 +4976,9 @@ export declare const rspackOptions: z.ZodObject<{
4879
4976
  maxSize?: number | undefined;
4880
4977
  maxAsyncSize?: number | undefined;
4881
4978
  maxInitialSize?: number | undefined;
4979
+ automaticNameDelimiter?: string | undefined;
4882
4980
  } | undefined;
4981
+ hidePathInfo?: boolean | undefined;
4883
4982
  } | undefined;
4884
4983
  runtimeChunk?: boolean | "multiple" | "single" | {
4885
4984
  name?: string | ((...args: unknown[]) => string | undefined) | undefined;