@rspack/core 0.6.5-canary-231c64e-20240515075232 → 0.6.5-canary-5042eed-20240515115707
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/Watching.d.ts +1 -0
- package/dist/Watching.js +3 -0
- package/dist/builtin-plugin/base.js +1 -1
- package/dist/builtin-plugin/index.d.ts +1 -0
- package/dist/builtin-plugin/index.js +1 -0
- package/dist/builtin-plugin/lazy-compilation/backend.d.ts +50 -0
- package/dist/builtin-plugin/lazy-compilation/backend.js +139 -0
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +30 -0
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.js +6 -0
- package/dist/builtin-plugin/lazy-compilation/plugin.d.ts +13 -0
- package/dist/builtin-plugin/lazy-compilation/plugin.js +60 -0
- package/dist/config/adapter.js +6 -5
- package/dist/config/defaults.js +3 -1
- package/dist/config/normalization.d.ts +2 -3
- package/dist/config/normalization.js +2 -1
- package/dist/config/zod.d.ts +159 -16
- package/dist/config/zod.js +16 -15
- package/dist/rspackOptionsApply.js +20 -1
- package/package.json +4 -4
package/dist/config/zod.d.ts
CHANGED
|
@@ -2291,43 +2291,54 @@ declare const cssGeneratorExportsOnly: z.ZodBoolean;
|
|
|
2291
2291
|
export type CssGeneratorExportsOnly = z.infer<typeof cssGeneratorExportsOnly>;
|
|
2292
2292
|
declare const cssGeneratorLocalIdentName: z.ZodString;
|
|
2293
2293
|
export type CssGeneratorLocalIdentName = z.infer<typeof cssGeneratorLocalIdentName>;
|
|
2294
|
+
declare const cssGeneratorEsModule: z.ZodBoolean;
|
|
2295
|
+
export type CssGeneratorEsModule = z.infer<typeof cssGeneratorEsModule>;
|
|
2294
2296
|
declare const cssGeneratorOptions: z.ZodObject<{
|
|
2295
2297
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2296
2298
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2299
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2297
2300
|
}, "strict", z.ZodTypeAny, {
|
|
2298
2301
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2299
2302
|
exportsOnly?: boolean | undefined;
|
|
2303
|
+
esModule?: boolean | undefined;
|
|
2300
2304
|
}, {
|
|
2301
2305
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2302
2306
|
exportsOnly?: boolean | undefined;
|
|
2307
|
+
esModule?: boolean | undefined;
|
|
2303
2308
|
}>;
|
|
2304
2309
|
export type CssGeneratorOptions = z.infer<typeof cssGeneratorOptions>;
|
|
2305
2310
|
declare const cssAutoGeneratorOptions: z.ZodObject<{
|
|
2306
2311
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2307
2312
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2308
2313
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2314
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2309
2315
|
}, "strict", z.ZodTypeAny, {
|
|
2310
2316
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2311
2317
|
exportsOnly?: boolean | undefined;
|
|
2312
2318
|
localIdentName?: string | undefined;
|
|
2319
|
+
esModule?: boolean | undefined;
|
|
2313
2320
|
}, {
|
|
2314
2321
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2315
2322
|
exportsOnly?: boolean | undefined;
|
|
2316
2323
|
localIdentName?: string | undefined;
|
|
2324
|
+
esModule?: boolean | undefined;
|
|
2317
2325
|
}>;
|
|
2318
2326
|
export type CssAutoGeneratorOptions = z.infer<typeof cssAutoGeneratorOptions>;
|
|
2319
2327
|
declare const cssModuleGeneratorOptions: z.ZodObject<{
|
|
2320
2328
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2321
2329
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2322
2330
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2331
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2323
2332
|
}, "strict", z.ZodTypeAny, {
|
|
2324
2333
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2325
2334
|
exportsOnly?: boolean | undefined;
|
|
2326
2335
|
localIdentName?: string | undefined;
|
|
2336
|
+
esModule?: boolean | undefined;
|
|
2327
2337
|
}, {
|
|
2328
2338
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2329
2339
|
exportsOnly?: boolean | undefined;
|
|
2330
2340
|
localIdentName?: string | undefined;
|
|
2341
|
+
esModule?: boolean | undefined;
|
|
2331
2342
|
}>;
|
|
2332
2343
|
export type CssModuleGeneratorOptions = z.infer<typeof cssModuleGeneratorOptions>;
|
|
2333
2344
|
declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
@@ -2430,38 +2441,47 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2430
2441
|
css: z.ZodOptional<z.ZodObject<{
|
|
2431
2442
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2432
2443
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2444
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2433
2445
|
}, "strict", z.ZodTypeAny, {
|
|
2434
2446
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2435
2447
|
exportsOnly?: boolean | undefined;
|
|
2448
|
+
esModule?: boolean | undefined;
|
|
2436
2449
|
}, {
|
|
2437
2450
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2438
2451
|
exportsOnly?: boolean | undefined;
|
|
2452
|
+
esModule?: boolean | undefined;
|
|
2439
2453
|
}>>;
|
|
2440
2454
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
2441
2455
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2442
2456
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2443
2457
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2458
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2444
2459
|
}, "strict", z.ZodTypeAny, {
|
|
2445
2460
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2446
2461
|
exportsOnly?: boolean | undefined;
|
|
2447
2462
|
localIdentName?: string | undefined;
|
|
2463
|
+
esModule?: boolean | undefined;
|
|
2448
2464
|
}, {
|
|
2449
2465
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2450
2466
|
exportsOnly?: boolean | undefined;
|
|
2451
2467
|
localIdentName?: string | undefined;
|
|
2468
|
+
esModule?: boolean | undefined;
|
|
2452
2469
|
}>>;
|
|
2453
2470
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
2454
2471
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2455
2472
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2456
2473
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2474
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2457
2475
|
}, "strict", z.ZodTypeAny, {
|
|
2458
2476
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2459
2477
|
exportsOnly?: boolean | undefined;
|
|
2460
2478
|
localIdentName?: string | undefined;
|
|
2479
|
+
esModule?: boolean | undefined;
|
|
2461
2480
|
}, {
|
|
2462
2481
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2463
2482
|
exportsOnly?: boolean | undefined;
|
|
2464
2483
|
localIdentName?: string | undefined;
|
|
2484
|
+
esModule?: boolean | undefined;
|
|
2465
2485
|
}>>;
|
|
2466
2486
|
}, "strict", z.ZodTypeAny, {
|
|
2467
2487
|
asset?: {
|
|
@@ -2493,16 +2513,19 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2493
2513
|
css?: {
|
|
2494
2514
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2495
2515
|
exportsOnly?: boolean | undefined;
|
|
2516
|
+
esModule?: boolean | undefined;
|
|
2496
2517
|
} | undefined;
|
|
2497
2518
|
"css/auto"?: {
|
|
2498
2519
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2499
2520
|
exportsOnly?: boolean | undefined;
|
|
2500
2521
|
localIdentName?: string | undefined;
|
|
2522
|
+
esModule?: boolean | undefined;
|
|
2501
2523
|
} | undefined;
|
|
2502
2524
|
"css/module"?: {
|
|
2503
2525
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2504
2526
|
exportsOnly?: boolean | undefined;
|
|
2505
2527
|
localIdentName?: string | undefined;
|
|
2528
|
+
esModule?: boolean | undefined;
|
|
2506
2529
|
} | undefined;
|
|
2507
2530
|
}, {
|
|
2508
2531
|
asset?: {
|
|
@@ -2534,16 +2557,19 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2534
2557
|
css?: {
|
|
2535
2558
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2536
2559
|
exportsOnly?: boolean | undefined;
|
|
2560
|
+
esModule?: boolean | undefined;
|
|
2537
2561
|
} | undefined;
|
|
2538
2562
|
"css/auto"?: {
|
|
2539
2563
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2540
2564
|
exportsOnly?: boolean | undefined;
|
|
2541
2565
|
localIdentName?: string | undefined;
|
|
2566
|
+
esModule?: boolean | undefined;
|
|
2542
2567
|
} | undefined;
|
|
2543
2568
|
"css/module"?: {
|
|
2544
2569
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2545
2570
|
exportsOnly?: boolean | undefined;
|
|
2546
2571
|
localIdentName?: string | undefined;
|
|
2572
|
+
esModule?: boolean | undefined;
|
|
2547
2573
|
} | undefined;
|
|
2548
2574
|
}>;
|
|
2549
2575
|
export type GeneratorOptionsByModuleTypeKnown = z.infer<typeof generatorOptionsByModuleTypeKnown>;
|
|
@@ -2649,38 +2675,47 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2649
2675
|
css: z.ZodOptional<z.ZodObject<{
|
|
2650
2676
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2651
2677
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2678
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2652
2679
|
}, "strict", z.ZodTypeAny, {
|
|
2653
2680
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2654
2681
|
exportsOnly?: boolean | undefined;
|
|
2682
|
+
esModule?: boolean | undefined;
|
|
2655
2683
|
}, {
|
|
2656
2684
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2657
2685
|
exportsOnly?: boolean | undefined;
|
|
2686
|
+
esModule?: boolean | undefined;
|
|
2658
2687
|
}>>;
|
|
2659
2688
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
2660
2689
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2661
2690
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2662
2691
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2692
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2663
2693
|
}, "strict", z.ZodTypeAny, {
|
|
2664
2694
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2665
2695
|
exportsOnly?: boolean | undefined;
|
|
2666
2696
|
localIdentName?: string | undefined;
|
|
2697
|
+
esModule?: boolean | undefined;
|
|
2667
2698
|
}, {
|
|
2668
2699
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2669
2700
|
exportsOnly?: boolean | undefined;
|
|
2670
2701
|
localIdentName?: string | undefined;
|
|
2702
|
+
esModule?: boolean | undefined;
|
|
2671
2703
|
}>>;
|
|
2672
2704
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
2673
2705
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2674
2706
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2675
2707
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2708
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2676
2709
|
}, "strict", z.ZodTypeAny, {
|
|
2677
2710
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2678
2711
|
exportsOnly?: boolean | undefined;
|
|
2679
2712
|
localIdentName?: string | undefined;
|
|
2713
|
+
esModule?: boolean | undefined;
|
|
2680
2714
|
}, {
|
|
2681
2715
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2682
2716
|
exportsOnly?: boolean | undefined;
|
|
2683
2717
|
localIdentName?: string | undefined;
|
|
2718
|
+
esModule?: boolean | undefined;
|
|
2684
2719
|
}>>;
|
|
2685
2720
|
}, "strict", z.ZodTypeAny, {
|
|
2686
2721
|
asset?: {
|
|
@@ -2712,16 +2747,19 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2712
2747
|
css?: {
|
|
2713
2748
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2714
2749
|
exportsOnly?: boolean | undefined;
|
|
2750
|
+
esModule?: boolean | undefined;
|
|
2715
2751
|
} | undefined;
|
|
2716
2752
|
"css/auto"?: {
|
|
2717
2753
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2718
2754
|
exportsOnly?: boolean | undefined;
|
|
2719
2755
|
localIdentName?: string | undefined;
|
|
2756
|
+
esModule?: boolean | undefined;
|
|
2720
2757
|
} | undefined;
|
|
2721
2758
|
"css/module"?: {
|
|
2722
2759
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2723
2760
|
exportsOnly?: boolean | undefined;
|
|
2724
2761
|
localIdentName?: string | undefined;
|
|
2762
|
+
esModule?: boolean | undefined;
|
|
2725
2763
|
} | undefined;
|
|
2726
2764
|
}, {
|
|
2727
2765
|
asset?: {
|
|
@@ -2753,16 +2791,19 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2753
2791
|
css?: {
|
|
2754
2792
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2755
2793
|
exportsOnly?: boolean | undefined;
|
|
2794
|
+
esModule?: boolean | undefined;
|
|
2756
2795
|
} | undefined;
|
|
2757
2796
|
"css/auto"?: {
|
|
2758
2797
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2759
2798
|
exportsOnly?: boolean | undefined;
|
|
2760
2799
|
localIdentName?: string | undefined;
|
|
2800
|
+
esModule?: boolean | undefined;
|
|
2761
2801
|
} | undefined;
|
|
2762
2802
|
"css/module"?: {
|
|
2763
2803
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2764
2804
|
exportsOnly?: boolean | undefined;
|
|
2765
2805
|
localIdentName?: string | undefined;
|
|
2806
|
+
esModule?: boolean | undefined;
|
|
2766
2807
|
} | undefined;
|
|
2767
2808
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>;
|
|
2768
2809
|
export type GeneratorOptionsByModuleType = z.infer<typeof generatorOptionsByModuleType>;
|
|
@@ -3093,38 +3134,47 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3093
3134
|
css: z.ZodOptional<z.ZodObject<{
|
|
3094
3135
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
3095
3136
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3137
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
3096
3138
|
}, "strict", z.ZodTypeAny, {
|
|
3097
3139
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3098
3140
|
exportsOnly?: boolean | undefined;
|
|
3141
|
+
esModule?: boolean | undefined;
|
|
3099
3142
|
}, {
|
|
3100
3143
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3101
3144
|
exportsOnly?: boolean | undefined;
|
|
3145
|
+
esModule?: boolean | undefined;
|
|
3102
3146
|
}>>;
|
|
3103
3147
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
3104
3148
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
3105
3149
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3106
3150
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
3151
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
3107
3152
|
}, "strict", z.ZodTypeAny, {
|
|
3108
3153
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3109
3154
|
exportsOnly?: boolean | undefined;
|
|
3110
3155
|
localIdentName?: string | undefined;
|
|
3156
|
+
esModule?: boolean | undefined;
|
|
3111
3157
|
}, {
|
|
3112
3158
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3113
3159
|
exportsOnly?: boolean | undefined;
|
|
3114
3160
|
localIdentName?: string | undefined;
|
|
3161
|
+
esModule?: boolean | undefined;
|
|
3115
3162
|
}>>;
|
|
3116
3163
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
3117
3164
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
3118
3165
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3119
3166
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
3167
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
3120
3168
|
}, "strict", z.ZodTypeAny, {
|
|
3121
3169
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3122
3170
|
exportsOnly?: boolean | undefined;
|
|
3123
3171
|
localIdentName?: string | undefined;
|
|
3172
|
+
esModule?: boolean | undefined;
|
|
3124
3173
|
}, {
|
|
3125
3174
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3126
3175
|
exportsOnly?: boolean | undefined;
|
|
3127
3176
|
localIdentName?: string | undefined;
|
|
3177
|
+
esModule?: boolean | undefined;
|
|
3128
3178
|
}>>;
|
|
3129
3179
|
}, "strict", z.ZodTypeAny, {
|
|
3130
3180
|
asset?: {
|
|
@@ -3156,16 +3206,19 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3156
3206
|
css?: {
|
|
3157
3207
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3158
3208
|
exportsOnly?: boolean | undefined;
|
|
3209
|
+
esModule?: boolean | undefined;
|
|
3159
3210
|
} | undefined;
|
|
3160
3211
|
"css/auto"?: {
|
|
3161
3212
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3162
3213
|
exportsOnly?: boolean | undefined;
|
|
3163
3214
|
localIdentName?: string | undefined;
|
|
3215
|
+
esModule?: boolean | undefined;
|
|
3164
3216
|
} | undefined;
|
|
3165
3217
|
"css/module"?: {
|
|
3166
3218
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3167
3219
|
exportsOnly?: boolean | undefined;
|
|
3168
3220
|
localIdentName?: string | undefined;
|
|
3221
|
+
esModule?: boolean | undefined;
|
|
3169
3222
|
} | undefined;
|
|
3170
3223
|
}, {
|
|
3171
3224
|
asset?: {
|
|
@@ -3197,16 +3250,19 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3197
3250
|
css?: {
|
|
3198
3251
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3199
3252
|
exportsOnly?: boolean | undefined;
|
|
3253
|
+
esModule?: boolean | undefined;
|
|
3200
3254
|
} | undefined;
|
|
3201
3255
|
"css/auto"?: {
|
|
3202
3256
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3203
3257
|
exportsOnly?: boolean | undefined;
|
|
3204
3258
|
localIdentName?: string | undefined;
|
|
3259
|
+
esModule?: boolean | undefined;
|
|
3205
3260
|
} | undefined;
|
|
3206
3261
|
"css/module"?: {
|
|
3207
3262
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3208
3263
|
exportsOnly?: boolean | undefined;
|
|
3209
3264
|
localIdentName?: string | undefined;
|
|
3265
|
+
esModule?: boolean | undefined;
|
|
3210
3266
|
} | undefined;
|
|
3211
3267
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
3212
3268
|
noParse: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">]>>;
|
|
@@ -3291,16 +3347,19 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3291
3347
|
css?: {
|
|
3292
3348
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3293
3349
|
exportsOnly?: boolean | undefined;
|
|
3350
|
+
esModule?: boolean | undefined;
|
|
3294
3351
|
} | undefined;
|
|
3295
3352
|
"css/auto"?: {
|
|
3296
3353
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3297
3354
|
exportsOnly?: boolean | undefined;
|
|
3298
3355
|
localIdentName?: string | undefined;
|
|
3356
|
+
esModule?: boolean | undefined;
|
|
3299
3357
|
} | undefined;
|
|
3300
3358
|
"css/module"?: {
|
|
3301
3359
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3302
3360
|
exportsOnly?: boolean | undefined;
|
|
3303
3361
|
localIdentName?: string | undefined;
|
|
3362
|
+
esModule?: boolean | undefined;
|
|
3304
3363
|
} | undefined;
|
|
3305
3364
|
} | undefined;
|
|
3306
3365
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -3385,16 +3444,19 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3385
3444
|
css?: {
|
|
3386
3445
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3387
3446
|
exportsOnly?: boolean | undefined;
|
|
3447
|
+
esModule?: boolean | undefined;
|
|
3388
3448
|
} | undefined;
|
|
3389
3449
|
"css/auto"?: {
|
|
3390
3450
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3391
3451
|
exportsOnly?: boolean | undefined;
|
|
3392
3452
|
localIdentName?: string | undefined;
|
|
3453
|
+
esModule?: boolean | undefined;
|
|
3393
3454
|
} | undefined;
|
|
3394
3455
|
"css/module"?: {
|
|
3395
3456
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3396
3457
|
exportsOnly?: boolean | undefined;
|
|
3397
3458
|
localIdentName?: string | undefined;
|
|
3459
|
+
esModule?: boolean | undefined;
|
|
3398
3460
|
} | undefined;
|
|
3399
3461
|
} | undefined;
|
|
3400
3462
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -4440,12 +4502,37 @@ declare const rspackFutureOptions: z.ZodObject<{
|
|
|
4440
4502
|
} | undefined;
|
|
4441
4503
|
}>;
|
|
4442
4504
|
export type RspackFutureOptions = z.infer<typeof rspackFutureOptions>;
|
|
4505
|
+
declare const lazyCompilationOptions: z.ZodObject<{
|
|
4506
|
+
imports: z.ZodOptional<z.ZodBoolean>;
|
|
4507
|
+
entries: z.ZodOptional<z.ZodBoolean>;
|
|
4508
|
+
test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4509
|
+
}, "strip", z.ZodTypeAny, {
|
|
4510
|
+
imports?: boolean | undefined;
|
|
4511
|
+
entries?: boolean | undefined;
|
|
4512
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4513
|
+
}, {
|
|
4514
|
+
imports?: boolean | undefined;
|
|
4515
|
+
entries?: boolean | undefined;
|
|
4516
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4517
|
+
}>;
|
|
4518
|
+
export type LazyCompilationOptions = z.infer<typeof lazyCompilationOptions>;
|
|
4443
4519
|
declare const experiments: z.ZodObject<{
|
|
4444
|
-
lazyCompilation: z.ZodOptional<z.ZodBoolean
|
|
4520
|
+
lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
|
|
4521
|
+
imports: z.ZodOptional<z.ZodBoolean>;
|
|
4522
|
+
entries: z.ZodOptional<z.ZodBoolean>;
|
|
4523
|
+
test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4524
|
+
}, "strip", z.ZodTypeAny, {
|
|
4525
|
+
imports?: boolean | undefined;
|
|
4526
|
+
entries?: boolean | undefined;
|
|
4527
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4528
|
+
}, {
|
|
4529
|
+
imports?: boolean | undefined;
|
|
4530
|
+
entries?: boolean | undefined;
|
|
4531
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4532
|
+
}>]>;
|
|
4445
4533
|
asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
|
|
4446
4534
|
outputModule: z.ZodOptional<z.ZodBoolean>;
|
|
4447
4535
|
topLevelAwait: z.ZodOptional<z.ZodBoolean>;
|
|
4448
|
-
newSplitChunks: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
4449
4536
|
css: z.ZodOptional<z.ZodBoolean>;
|
|
4450
4537
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
4451
4538
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
@@ -4474,11 +4561,14 @@ declare const experiments: z.ZodObject<{
|
|
|
4474
4561
|
} | undefined;
|
|
4475
4562
|
}>>;
|
|
4476
4563
|
}, "strict", z.ZodTypeAny, {
|
|
4477
|
-
lazyCompilation?: boolean |
|
|
4564
|
+
lazyCompilation?: boolean | {
|
|
4565
|
+
imports?: boolean | undefined;
|
|
4566
|
+
entries?: boolean | undefined;
|
|
4567
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4568
|
+
} | undefined;
|
|
4478
4569
|
asyncWebAssembly?: boolean | undefined;
|
|
4479
4570
|
outputModule?: boolean | undefined;
|
|
4480
4571
|
topLevelAwait?: boolean | undefined;
|
|
4481
|
-
newSplitChunks?: boolean | undefined;
|
|
4482
4572
|
css?: boolean | undefined;
|
|
4483
4573
|
futureDefaults?: boolean | undefined;
|
|
4484
4574
|
rspackFuture?: {
|
|
@@ -4489,11 +4579,14 @@ declare const experiments: z.ZodObject<{
|
|
|
4489
4579
|
} | undefined;
|
|
4490
4580
|
} | undefined;
|
|
4491
4581
|
}, {
|
|
4492
|
-
lazyCompilation?: boolean |
|
|
4582
|
+
lazyCompilation?: boolean | {
|
|
4583
|
+
imports?: boolean | undefined;
|
|
4584
|
+
entries?: boolean | undefined;
|
|
4585
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4586
|
+
} | undefined;
|
|
4493
4587
|
asyncWebAssembly?: boolean | undefined;
|
|
4494
4588
|
outputModule?: boolean | undefined;
|
|
4495
4589
|
topLevelAwait?: boolean | undefined;
|
|
4496
|
-
newSplitChunks?: boolean | undefined;
|
|
4497
4590
|
css?: boolean | undefined;
|
|
4498
4591
|
futureDefaults?: boolean | undefined;
|
|
4499
4592
|
rspackFuture?: {
|
|
@@ -5124,11 +5217,22 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5124
5217
|
target: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodLiteral<"async-node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodLiteral<"async-node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>, "many">]>>;
|
|
5125
5218
|
mode: z.ZodOptional<z.ZodEnum<["development", "production", "none"]>>;
|
|
5126
5219
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
5127
|
-
lazyCompilation: z.ZodOptional<z.ZodBoolean
|
|
5220
|
+
lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
|
|
5221
|
+
imports: z.ZodOptional<z.ZodBoolean>;
|
|
5222
|
+
entries: z.ZodOptional<z.ZodBoolean>;
|
|
5223
|
+
test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
5224
|
+
}, "strip", z.ZodTypeAny, {
|
|
5225
|
+
imports?: boolean | undefined;
|
|
5226
|
+
entries?: boolean | undefined;
|
|
5227
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
5228
|
+
}, {
|
|
5229
|
+
imports?: boolean | undefined;
|
|
5230
|
+
entries?: boolean | undefined;
|
|
5231
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
5232
|
+
}>]>;
|
|
5128
5233
|
asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
|
|
5129
5234
|
outputModule: z.ZodOptional<z.ZodBoolean>;
|
|
5130
5235
|
topLevelAwait: z.ZodOptional<z.ZodBoolean>;
|
|
5131
|
-
newSplitChunks: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
5132
5236
|
css: z.ZodOptional<z.ZodBoolean>;
|
|
5133
5237
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
5134
5238
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
@@ -5157,11 +5261,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5157
5261
|
} | undefined;
|
|
5158
5262
|
}>>;
|
|
5159
5263
|
}, "strict", z.ZodTypeAny, {
|
|
5160
|
-
lazyCompilation?: boolean |
|
|
5264
|
+
lazyCompilation?: boolean | {
|
|
5265
|
+
imports?: boolean | undefined;
|
|
5266
|
+
entries?: boolean | undefined;
|
|
5267
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
5268
|
+
} | undefined;
|
|
5161
5269
|
asyncWebAssembly?: boolean | undefined;
|
|
5162
5270
|
outputModule?: boolean | undefined;
|
|
5163
5271
|
topLevelAwait?: boolean | undefined;
|
|
5164
|
-
newSplitChunks?: boolean | undefined;
|
|
5165
5272
|
css?: boolean | undefined;
|
|
5166
5273
|
futureDefaults?: boolean | undefined;
|
|
5167
5274
|
rspackFuture?: {
|
|
@@ -5172,11 +5279,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5172
5279
|
} | undefined;
|
|
5173
5280
|
} | undefined;
|
|
5174
5281
|
}, {
|
|
5175
|
-
lazyCompilation?: boolean |
|
|
5282
|
+
lazyCompilation?: boolean | {
|
|
5283
|
+
imports?: boolean | undefined;
|
|
5284
|
+
entries?: boolean | undefined;
|
|
5285
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
5286
|
+
} | undefined;
|
|
5176
5287
|
asyncWebAssembly?: boolean | undefined;
|
|
5177
5288
|
outputModule?: boolean | undefined;
|
|
5178
5289
|
topLevelAwait?: boolean | undefined;
|
|
5179
|
-
newSplitChunks?: boolean | undefined;
|
|
5180
5290
|
css?: boolean | undefined;
|
|
5181
5291
|
futureDefaults?: boolean | undefined;
|
|
5182
5292
|
rspackFuture?: {
|
|
@@ -6122,38 +6232,47 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6122
6232
|
css: z.ZodOptional<z.ZodObject<{
|
|
6123
6233
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
6124
6234
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6235
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
6125
6236
|
}, "strict", z.ZodTypeAny, {
|
|
6126
6237
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6127
6238
|
exportsOnly?: boolean | undefined;
|
|
6239
|
+
esModule?: boolean | undefined;
|
|
6128
6240
|
}, {
|
|
6129
6241
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6130
6242
|
exportsOnly?: boolean | undefined;
|
|
6243
|
+
esModule?: boolean | undefined;
|
|
6131
6244
|
}>>;
|
|
6132
6245
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
6133
6246
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
6134
6247
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6135
6248
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
6249
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
6136
6250
|
}, "strict", z.ZodTypeAny, {
|
|
6137
6251
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6138
6252
|
exportsOnly?: boolean | undefined;
|
|
6139
6253
|
localIdentName?: string | undefined;
|
|
6254
|
+
esModule?: boolean | undefined;
|
|
6140
6255
|
}, {
|
|
6141
6256
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6142
6257
|
exportsOnly?: boolean | undefined;
|
|
6143
6258
|
localIdentName?: string | undefined;
|
|
6259
|
+
esModule?: boolean | undefined;
|
|
6144
6260
|
}>>;
|
|
6145
6261
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
6146
6262
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
6147
6263
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6148
6264
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
6265
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
6149
6266
|
}, "strict", z.ZodTypeAny, {
|
|
6150
6267
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6151
6268
|
exportsOnly?: boolean | undefined;
|
|
6152
6269
|
localIdentName?: string | undefined;
|
|
6270
|
+
esModule?: boolean | undefined;
|
|
6153
6271
|
}, {
|
|
6154
6272
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6155
6273
|
exportsOnly?: boolean | undefined;
|
|
6156
6274
|
localIdentName?: string | undefined;
|
|
6275
|
+
esModule?: boolean | undefined;
|
|
6157
6276
|
}>>;
|
|
6158
6277
|
}, "strict", z.ZodTypeAny, {
|
|
6159
6278
|
asset?: {
|
|
@@ -6185,16 +6304,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6185
6304
|
css?: {
|
|
6186
6305
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6187
6306
|
exportsOnly?: boolean | undefined;
|
|
6307
|
+
esModule?: boolean | undefined;
|
|
6188
6308
|
} | undefined;
|
|
6189
6309
|
"css/auto"?: {
|
|
6190
6310
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6191
6311
|
exportsOnly?: boolean | undefined;
|
|
6192
6312
|
localIdentName?: string | undefined;
|
|
6313
|
+
esModule?: boolean | undefined;
|
|
6193
6314
|
} | undefined;
|
|
6194
6315
|
"css/module"?: {
|
|
6195
6316
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6196
6317
|
exportsOnly?: boolean | undefined;
|
|
6197
6318
|
localIdentName?: string | undefined;
|
|
6319
|
+
esModule?: boolean | undefined;
|
|
6198
6320
|
} | undefined;
|
|
6199
6321
|
}, {
|
|
6200
6322
|
asset?: {
|
|
@@ -6226,16 +6348,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6226
6348
|
css?: {
|
|
6227
6349
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6228
6350
|
exportsOnly?: boolean | undefined;
|
|
6351
|
+
esModule?: boolean | undefined;
|
|
6229
6352
|
} | undefined;
|
|
6230
6353
|
"css/auto"?: {
|
|
6231
6354
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6232
6355
|
exportsOnly?: boolean | undefined;
|
|
6233
6356
|
localIdentName?: string | undefined;
|
|
6357
|
+
esModule?: boolean | undefined;
|
|
6234
6358
|
} | undefined;
|
|
6235
6359
|
"css/module"?: {
|
|
6236
6360
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6237
6361
|
exportsOnly?: boolean | undefined;
|
|
6238
6362
|
localIdentName?: string | undefined;
|
|
6363
|
+
esModule?: boolean | undefined;
|
|
6239
6364
|
} | undefined;
|
|
6240
6365
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
6241
6366
|
noParse: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">]>>;
|
|
@@ -6320,16 +6445,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6320
6445
|
css?: {
|
|
6321
6446
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6322
6447
|
exportsOnly?: boolean | undefined;
|
|
6448
|
+
esModule?: boolean | undefined;
|
|
6323
6449
|
} | undefined;
|
|
6324
6450
|
"css/auto"?: {
|
|
6325
6451
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6326
6452
|
exportsOnly?: boolean | undefined;
|
|
6327
6453
|
localIdentName?: string | undefined;
|
|
6454
|
+
esModule?: boolean | undefined;
|
|
6328
6455
|
} | undefined;
|
|
6329
6456
|
"css/module"?: {
|
|
6330
6457
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6331
6458
|
exportsOnly?: boolean | undefined;
|
|
6332
6459
|
localIdentName?: string | undefined;
|
|
6460
|
+
esModule?: boolean | undefined;
|
|
6333
6461
|
} | undefined;
|
|
6334
6462
|
} | undefined;
|
|
6335
6463
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -6414,16 +6542,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6414
6542
|
css?: {
|
|
6415
6543
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6416
6544
|
exportsOnly?: boolean | undefined;
|
|
6545
|
+
esModule?: boolean | undefined;
|
|
6417
6546
|
} | undefined;
|
|
6418
6547
|
"css/auto"?: {
|
|
6419
6548
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6420
6549
|
exportsOnly?: boolean | undefined;
|
|
6421
6550
|
localIdentName?: string | undefined;
|
|
6551
|
+
esModule?: boolean | undefined;
|
|
6422
6552
|
} | undefined;
|
|
6423
6553
|
"css/module"?: {
|
|
6424
6554
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6425
6555
|
exportsOnly?: boolean | undefined;
|
|
6426
6556
|
localIdentName?: string | undefined;
|
|
6557
|
+
esModule?: boolean | undefined;
|
|
6427
6558
|
} | undefined;
|
|
6428
6559
|
} | undefined;
|
|
6429
6560
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -6584,11 +6715,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6584
6715
|
target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload`)[] | undefined;
|
|
6585
6716
|
mode?: "none" | "development" | "production" | undefined;
|
|
6586
6717
|
experiments?: {
|
|
6587
|
-
lazyCompilation?: boolean |
|
|
6718
|
+
lazyCompilation?: boolean | {
|
|
6719
|
+
imports?: boolean | undefined;
|
|
6720
|
+
entries?: boolean | undefined;
|
|
6721
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
6722
|
+
} | undefined;
|
|
6588
6723
|
asyncWebAssembly?: boolean | undefined;
|
|
6589
6724
|
outputModule?: boolean | undefined;
|
|
6590
6725
|
topLevelAwait?: boolean | undefined;
|
|
6591
|
-
newSplitChunks?: boolean | undefined;
|
|
6592
6726
|
css?: boolean | undefined;
|
|
6593
6727
|
futureDefaults?: boolean | undefined;
|
|
6594
6728
|
rspackFuture?: {
|
|
@@ -6846,16 +6980,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6846
6980
|
css?: {
|
|
6847
6981
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6848
6982
|
exportsOnly?: boolean | undefined;
|
|
6983
|
+
esModule?: boolean | undefined;
|
|
6849
6984
|
} | undefined;
|
|
6850
6985
|
"css/auto"?: {
|
|
6851
6986
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6852
6987
|
exportsOnly?: boolean | undefined;
|
|
6853
6988
|
localIdentName?: string | undefined;
|
|
6989
|
+
esModule?: boolean | undefined;
|
|
6854
6990
|
} | undefined;
|
|
6855
6991
|
"css/module"?: {
|
|
6856
6992
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6857
6993
|
exportsOnly?: boolean | undefined;
|
|
6858
6994
|
localIdentName?: string | undefined;
|
|
6995
|
+
esModule?: boolean | undefined;
|
|
6859
6996
|
} | undefined;
|
|
6860
6997
|
} | undefined;
|
|
6861
6998
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -7006,11 +7143,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7006
7143
|
target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload`)[] | undefined;
|
|
7007
7144
|
mode?: "none" | "development" | "production" | undefined;
|
|
7008
7145
|
experiments?: {
|
|
7009
|
-
lazyCompilation?: boolean |
|
|
7146
|
+
lazyCompilation?: boolean | {
|
|
7147
|
+
imports?: boolean | undefined;
|
|
7148
|
+
entries?: boolean | undefined;
|
|
7149
|
+
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
7150
|
+
} | undefined;
|
|
7010
7151
|
asyncWebAssembly?: boolean | undefined;
|
|
7011
7152
|
outputModule?: boolean | undefined;
|
|
7012
7153
|
topLevelAwait?: boolean | undefined;
|
|
7013
|
-
newSplitChunks?: boolean | undefined;
|
|
7014
7154
|
css?: boolean | undefined;
|
|
7015
7155
|
futureDefaults?: boolean | undefined;
|
|
7016
7156
|
rspackFuture?: {
|
|
@@ -7268,16 +7408,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7268
7408
|
css?: {
|
|
7269
7409
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
7270
7410
|
exportsOnly?: boolean | undefined;
|
|
7411
|
+
esModule?: boolean | undefined;
|
|
7271
7412
|
} | undefined;
|
|
7272
7413
|
"css/auto"?: {
|
|
7273
7414
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
7274
7415
|
exportsOnly?: boolean | undefined;
|
|
7275
7416
|
localIdentName?: string | undefined;
|
|
7417
|
+
esModule?: boolean | undefined;
|
|
7276
7418
|
} | undefined;
|
|
7277
7419
|
"css/module"?: {
|
|
7278
7420
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
7279
7421
|
exportsOnly?: boolean | undefined;
|
|
7280
7422
|
localIdentName?: string | undefined;
|
|
7423
|
+
esModule?: boolean | undefined;
|
|
7281
7424
|
} | undefined;
|
|
7282
7425
|
} | undefined;
|
|
7283
7426
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|