@rspack/core 1.0.5 → 1.0.7
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/Chunk.d.ts +5 -0
- package/dist/Chunk.js +28 -0
- package/dist/Compilation.d.ts +15 -7
- package/dist/Compilation.js +25 -8
- package/dist/Compiler.js +9 -21
- package/dist/Module.d.ts +20 -8
- package/dist/Module.js +66 -7
- package/dist/Resolver.d.ts +2 -4
- package/dist/RspackError.d.ts +2 -2
- package/dist/RspackError.js +3 -3
- package/dist/RuntimeModule.d.ts +32 -0
- package/dist/RuntimeModule.js +58 -0
- package/dist/builtin-plugin/ContextReplacementPlugin.d.ts +10 -0
- package/dist/builtin-plugin/ContextReplacementPlugin.js +43 -0
- package/dist/builtin-plugin/ProgressPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ProgressPlugin.js +10 -8
- package/dist/builtin-plugin/index.d.ts +1 -0
- package/dist/builtin-plugin/index.js +1 -0
- package/dist/config/adapter.js +30 -18
- package/dist/config/adapterRuleUse.d.ts +40 -3
- package/dist/config/browserslistTargetHandler.js +6 -5
- package/dist/config/defaults.js +11 -7
- package/dist/config/normalization.d.ts +2 -1
- package/dist/config/normalization.js +2 -1
- package/dist/config/zod.d.ts +146 -31
- package/dist/config/zod.js +11 -2
- package/dist/exports.d.ts +2 -0
- package/dist/exports.js +6 -2
- package/dist/loader-runner/index.js +30 -28
- package/dist/node/NodeEnvironmentPlugin.js +1 -1
- package/dist/stats/DefaultStatsFactoryPlugin.js +18 -29
- package/dist/stats/DefaultStatsPrinterPlugin.js +3 -5
- package/dist/stats/StatsFactory.d.ts +1 -1
- package/dist/stats/StatsFactory.js +1 -4
- package/dist/stats/statsFactoryUtils.d.ts +7 -3
- package/dist/stats/statsFactoryUtils.js +5 -6
- package/dist/util/comparators.d.ts +2 -2
- package/dist/util/smartGrouping.d.ts +4 -4
- package/dist/util/source.d.ts +1 -12
- package/dist/util/source.js +19 -43
- package/package.json +2 -2
package/dist/config/zod.d.ts
CHANGED
|
@@ -2103,11 +2103,11 @@ declare const baseRuleSetRule: z.ZodObject<{
|
|
|
2103
2103
|
layer?: string | undefined;
|
|
2104
2104
|
enforce?: "pre" | "post" | undefined;
|
|
2105
2105
|
sideEffects?: boolean | undefined;
|
|
2106
|
-
resource?: RuleSetCondition | undefined;
|
|
2107
2106
|
loader?: string | undefined;
|
|
2108
2107
|
issuer?: RuleSetCondition | undefined;
|
|
2109
2108
|
issuerLayer?: RuleSetCondition | undefined;
|
|
2110
2109
|
dependency?: RuleSetCondition | undefined;
|
|
2110
|
+
resource?: RuleSetCondition | undefined;
|
|
2111
2111
|
resourceFragment?: RuleSetCondition | undefined;
|
|
2112
2112
|
resourceQuery?: RuleSetCondition | undefined;
|
|
2113
2113
|
scheme?: RuleSetCondition | undefined;
|
|
@@ -2139,11 +2139,11 @@ declare const baseRuleSetRule: z.ZodObject<{
|
|
|
2139
2139
|
layer?: string | undefined;
|
|
2140
2140
|
enforce?: "pre" | "post" | undefined;
|
|
2141
2141
|
sideEffects?: boolean | undefined;
|
|
2142
|
-
resource?: RuleSetCondition | undefined;
|
|
2143
2142
|
loader?: string | undefined;
|
|
2144
2143
|
issuer?: RuleSetCondition | undefined;
|
|
2145
2144
|
issuerLayer?: RuleSetCondition | undefined;
|
|
2146
2145
|
dependency?: RuleSetCondition | undefined;
|
|
2146
|
+
resource?: RuleSetCondition | undefined;
|
|
2147
2147
|
resourceFragment?: RuleSetCondition | undefined;
|
|
2148
2148
|
resourceQuery?: RuleSetCondition | undefined;
|
|
2149
2149
|
scheme?: RuleSetCondition | undefined;
|
|
@@ -4933,6 +4933,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
4933
4933
|
errorsSpace: z.ZodOptional<z.ZodNumber>;
|
|
4934
4934
|
warningsSpace: z.ZodOptional<z.ZodNumber>;
|
|
4935
4935
|
}, "strict", z.ZodTypeAny, {
|
|
4936
|
+
source?: boolean | undefined;
|
|
4936
4937
|
publicPath?: boolean | undefined;
|
|
4937
4938
|
hash?: boolean | undefined;
|
|
4938
4939
|
all?: boolean | undefined;
|
|
@@ -4959,7 +4960,6 @@ declare const statsOptions: z.ZodObject<{
|
|
|
4959
4960
|
builtAt?: boolean | undefined;
|
|
4960
4961
|
moduleAssets?: boolean | undefined;
|
|
4961
4962
|
nestedModules?: boolean | undefined;
|
|
4962
|
-
source?: boolean | undefined;
|
|
4963
4963
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
4964
4964
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
4965
4965
|
loggingTrace?: boolean | undefined;
|
|
@@ -5010,6 +5010,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
5010
5010
|
errorsSpace?: number | undefined;
|
|
5011
5011
|
warningsSpace?: number | undefined;
|
|
5012
5012
|
}, {
|
|
5013
|
+
source?: boolean | undefined;
|
|
5013
5014
|
publicPath?: boolean | undefined;
|
|
5014
5015
|
hash?: boolean | undefined;
|
|
5015
5016
|
all?: boolean | undefined;
|
|
@@ -5036,7 +5037,6 @@ declare const statsOptions: z.ZodObject<{
|
|
|
5036
5037
|
builtAt?: boolean | undefined;
|
|
5037
5038
|
moduleAssets?: boolean | undefined;
|
|
5038
5039
|
nestedModules?: boolean | undefined;
|
|
5039
|
-
source?: boolean | undefined;
|
|
5040
5040
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
5041
5041
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5042
5042
|
loggingTrace?: boolean | undefined;
|
|
@@ -5166,6 +5166,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
5166
5166
|
errorsSpace: z.ZodOptional<z.ZodNumber>;
|
|
5167
5167
|
warningsSpace: z.ZodOptional<z.ZodNumber>;
|
|
5168
5168
|
}, "strict", z.ZodTypeAny, {
|
|
5169
|
+
source?: boolean | undefined;
|
|
5169
5170
|
publicPath?: boolean | undefined;
|
|
5170
5171
|
hash?: boolean | undefined;
|
|
5171
5172
|
all?: boolean | undefined;
|
|
@@ -5192,7 +5193,6 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
5192
5193
|
builtAt?: boolean | undefined;
|
|
5193
5194
|
moduleAssets?: boolean | undefined;
|
|
5194
5195
|
nestedModules?: boolean | undefined;
|
|
5195
|
-
source?: boolean | undefined;
|
|
5196
5196
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
5197
5197
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5198
5198
|
loggingTrace?: boolean | undefined;
|
|
@@ -5243,6 +5243,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
5243
5243
|
errorsSpace?: number | undefined;
|
|
5244
5244
|
warningsSpace?: number | undefined;
|
|
5245
5245
|
}, {
|
|
5246
|
+
source?: boolean | undefined;
|
|
5246
5247
|
publicPath?: boolean | undefined;
|
|
5247
5248
|
hash?: boolean | undefined;
|
|
5248
5249
|
all?: boolean | undefined;
|
|
@@ -5269,7 +5270,6 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
5269
5270
|
builtAt?: boolean | undefined;
|
|
5270
5271
|
moduleAssets?: boolean | undefined;
|
|
5271
5272
|
nestedModules?: boolean | undefined;
|
|
5272
|
-
source?: boolean | undefined;
|
|
5273
5273
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
5274
5274
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5275
5275
|
loggingTrace?: boolean | undefined;
|
|
@@ -5882,7 +5882,7 @@ declare const optimization: z.ZodObject<{
|
|
|
5882
5882
|
providedExports?: boolean | undefined;
|
|
5883
5883
|
concatenateModules?: boolean | undefined;
|
|
5884
5884
|
innerGraph?: boolean | undefined;
|
|
5885
|
-
mangleExports?: boolean | "
|
|
5885
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
5886
5886
|
nodeEnv?: string | false | undefined;
|
|
5887
5887
|
emitOnErrors?: boolean | undefined;
|
|
5888
5888
|
}, {
|
|
@@ -5948,7 +5948,7 @@ declare const optimization: z.ZodObject<{
|
|
|
5948
5948
|
providedExports?: boolean | undefined;
|
|
5949
5949
|
concatenateModules?: boolean | undefined;
|
|
5950
5950
|
innerGraph?: boolean | undefined;
|
|
5951
|
-
mangleExports?: boolean | "
|
|
5951
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
5952
5952
|
nodeEnv?: string | false | undefined;
|
|
5953
5953
|
emitOnErrors?: boolean | undefined;
|
|
5954
5954
|
}>;
|
|
@@ -5967,21 +5967,18 @@ declare const rspackFutureOptions: z.ZodObject<{
|
|
|
5967
5967
|
version?: string | undefined;
|
|
5968
5968
|
bundler?: string | undefined;
|
|
5969
5969
|
}>>;
|
|
5970
|
-
newIncremental: z.ZodOptional<z.ZodBoolean>;
|
|
5971
5970
|
}, "strict", z.ZodTypeAny, {
|
|
5972
5971
|
bundlerInfo?: {
|
|
5973
5972
|
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
5974
5973
|
version?: string | undefined;
|
|
5975
5974
|
bundler?: string | undefined;
|
|
5976
5975
|
} | undefined;
|
|
5977
|
-
newIncremental?: boolean | undefined;
|
|
5978
5976
|
}, {
|
|
5979
5977
|
bundlerInfo?: {
|
|
5980
5978
|
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
5981
5979
|
version?: string | undefined;
|
|
5982
5980
|
bundler?: string | undefined;
|
|
5983
5981
|
} | undefined;
|
|
5984
|
-
newIncremental?: boolean | undefined;
|
|
5985
5982
|
}>;
|
|
5986
5983
|
export type RspackFutureOptions = z.infer<typeof rspackFutureOptions>;
|
|
5987
5984
|
declare const lazyCompilationOptions: z.ZodObject<{
|
|
@@ -6084,6 +6081,32 @@ declare const lazyCompilationOptions: z.ZodObject<{
|
|
|
6084
6081
|
imports?: boolean | undefined;
|
|
6085
6082
|
}>;
|
|
6086
6083
|
export type LazyCompilationOptions = z.infer<typeof lazyCompilationOptions>;
|
|
6084
|
+
declare const incremental: z.ZodObject<{
|
|
6085
|
+
make: z.ZodOptional<z.ZodBoolean>;
|
|
6086
|
+
emitAssets: z.ZodOptional<z.ZodBoolean>;
|
|
6087
|
+
inferAsyncModules: z.ZodOptional<z.ZodBoolean>;
|
|
6088
|
+
providedExports: z.ZodOptional<z.ZodBoolean>;
|
|
6089
|
+
moduleHashes: z.ZodOptional<z.ZodBoolean>;
|
|
6090
|
+
moduleCodegen: z.ZodOptional<z.ZodBoolean>;
|
|
6091
|
+
moduleRuntimeRequirements: z.ZodOptional<z.ZodBoolean>;
|
|
6092
|
+
}, "strict", z.ZodTypeAny, {
|
|
6093
|
+
make?: boolean | undefined;
|
|
6094
|
+
providedExports?: boolean | undefined;
|
|
6095
|
+
emitAssets?: boolean | undefined;
|
|
6096
|
+
inferAsyncModules?: boolean | undefined;
|
|
6097
|
+
moduleHashes?: boolean | undefined;
|
|
6098
|
+
moduleCodegen?: boolean | undefined;
|
|
6099
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
6100
|
+
}, {
|
|
6101
|
+
make?: boolean | undefined;
|
|
6102
|
+
providedExports?: boolean | undefined;
|
|
6103
|
+
emitAssets?: boolean | undefined;
|
|
6104
|
+
inferAsyncModules?: boolean | undefined;
|
|
6105
|
+
moduleHashes?: boolean | undefined;
|
|
6106
|
+
moduleCodegen?: boolean | undefined;
|
|
6107
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
6108
|
+
}>;
|
|
6109
|
+
export type Incremental = z.infer<typeof incremental>;
|
|
6087
6110
|
declare const experiments: z.ZodObject<{
|
|
6088
6111
|
lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
|
|
6089
6112
|
backend: z.ZodOptional<z.ZodObject<{
|
|
@@ -6189,6 +6212,31 @@ declare const experiments: z.ZodObject<{
|
|
|
6189
6212
|
topLevelAwait: z.ZodOptional<z.ZodBoolean>;
|
|
6190
6213
|
css: z.ZodOptional<z.ZodBoolean>;
|
|
6191
6214
|
layers: z.ZodOptional<z.ZodBoolean>;
|
|
6215
|
+
incremental: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
6216
|
+
make: z.ZodOptional<z.ZodBoolean>;
|
|
6217
|
+
emitAssets: z.ZodOptional<z.ZodBoolean>;
|
|
6218
|
+
inferAsyncModules: z.ZodOptional<z.ZodBoolean>;
|
|
6219
|
+
providedExports: z.ZodOptional<z.ZodBoolean>;
|
|
6220
|
+
moduleHashes: z.ZodOptional<z.ZodBoolean>;
|
|
6221
|
+
moduleCodegen: z.ZodOptional<z.ZodBoolean>;
|
|
6222
|
+
moduleRuntimeRequirements: z.ZodOptional<z.ZodBoolean>;
|
|
6223
|
+
}, "strict", z.ZodTypeAny, {
|
|
6224
|
+
make?: boolean | undefined;
|
|
6225
|
+
providedExports?: boolean | undefined;
|
|
6226
|
+
emitAssets?: boolean | undefined;
|
|
6227
|
+
inferAsyncModules?: boolean | undefined;
|
|
6228
|
+
moduleHashes?: boolean | undefined;
|
|
6229
|
+
moduleCodegen?: boolean | undefined;
|
|
6230
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
6231
|
+
}, {
|
|
6232
|
+
make?: boolean | undefined;
|
|
6233
|
+
providedExports?: boolean | undefined;
|
|
6234
|
+
emitAssets?: boolean | undefined;
|
|
6235
|
+
inferAsyncModules?: boolean | undefined;
|
|
6236
|
+
moduleHashes?: boolean | undefined;
|
|
6237
|
+
moduleCodegen?: boolean | undefined;
|
|
6238
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
6239
|
+
}>]>>;
|
|
6192
6240
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
6193
6241
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
6194
6242
|
bundlerInfo: z.ZodOptional<z.ZodObject<{
|
|
@@ -6204,21 +6252,18 @@ declare const experiments: z.ZodObject<{
|
|
|
6204
6252
|
version?: string | undefined;
|
|
6205
6253
|
bundler?: string | undefined;
|
|
6206
6254
|
}>>;
|
|
6207
|
-
newIncremental: z.ZodOptional<z.ZodBoolean>;
|
|
6208
6255
|
}, "strict", z.ZodTypeAny, {
|
|
6209
6256
|
bundlerInfo?: {
|
|
6210
6257
|
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
6211
6258
|
version?: string | undefined;
|
|
6212
6259
|
bundler?: string | undefined;
|
|
6213
6260
|
} | undefined;
|
|
6214
|
-
newIncremental?: boolean | undefined;
|
|
6215
6261
|
}, {
|
|
6216
6262
|
bundlerInfo?: {
|
|
6217
6263
|
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
6218
6264
|
version?: string | undefined;
|
|
6219
6265
|
bundler?: string | undefined;
|
|
6220
6266
|
} | undefined;
|
|
6221
|
-
newIncremental?: boolean | undefined;
|
|
6222
6267
|
}>>;
|
|
6223
6268
|
}, "strict", z.ZodTypeAny, {
|
|
6224
6269
|
css?: boolean | undefined;
|
|
@@ -6245,6 +6290,15 @@ declare const experiments: z.ZodObject<{
|
|
|
6245
6290
|
outputModule?: boolean | undefined;
|
|
6246
6291
|
topLevelAwait?: boolean | undefined;
|
|
6247
6292
|
layers?: boolean | undefined;
|
|
6293
|
+
incremental?: boolean | {
|
|
6294
|
+
make?: boolean | undefined;
|
|
6295
|
+
providedExports?: boolean | undefined;
|
|
6296
|
+
emitAssets?: boolean | undefined;
|
|
6297
|
+
inferAsyncModules?: boolean | undefined;
|
|
6298
|
+
moduleHashes?: boolean | undefined;
|
|
6299
|
+
moduleCodegen?: boolean | undefined;
|
|
6300
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
6301
|
+
} | undefined;
|
|
6248
6302
|
futureDefaults?: boolean | undefined;
|
|
6249
6303
|
rspackFuture?: {
|
|
6250
6304
|
bundlerInfo?: {
|
|
@@ -6252,7 +6306,6 @@ declare const experiments: z.ZodObject<{
|
|
|
6252
6306
|
version?: string | undefined;
|
|
6253
6307
|
bundler?: string | undefined;
|
|
6254
6308
|
} | undefined;
|
|
6255
|
-
newIncremental?: boolean | undefined;
|
|
6256
6309
|
} | undefined;
|
|
6257
6310
|
}, {
|
|
6258
6311
|
css?: boolean | undefined;
|
|
@@ -6279,6 +6332,15 @@ declare const experiments: z.ZodObject<{
|
|
|
6279
6332
|
outputModule?: boolean | undefined;
|
|
6280
6333
|
topLevelAwait?: boolean | undefined;
|
|
6281
6334
|
layers?: boolean | undefined;
|
|
6335
|
+
incremental?: boolean | {
|
|
6336
|
+
make?: boolean | undefined;
|
|
6337
|
+
providedExports?: boolean | undefined;
|
|
6338
|
+
emitAssets?: boolean | undefined;
|
|
6339
|
+
inferAsyncModules?: boolean | undefined;
|
|
6340
|
+
moduleHashes?: boolean | undefined;
|
|
6341
|
+
moduleCodegen?: boolean | undefined;
|
|
6342
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
6343
|
+
} | undefined;
|
|
6282
6344
|
futureDefaults?: boolean | undefined;
|
|
6283
6345
|
rspackFuture?: {
|
|
6284
6346
|
bundlerInfo?: {
|
|
@@ -6286,7 +6348,6 @@ declare const experiments: z.ZodObject<{
|
|
|
6286
6348
|
version?: string | undefined;
|
|
6287
6349
|
bundler?: string | undefined;
|
|
6288
6350
|
} | undefined;
|
|
6289
|
-
newIncremental?: boolean | undefined;
|
|
6290
6351
|
} | undefined;
|
|
6291
6352
|
}>;
|
|
6292
6353
|
export type Experiments = z.infer<typeof experiments>;
|
|
@@ -7238,6 +7299,31 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7238
7299
|
topLevelAwait: z.ZodOptional<z.ZodBoolean>;
|
|
7239
7300
|
css: z.ZodOptional<z.ZodBoolean>;
|
|
7240
7301
|
layers: z.ZodOptional<z.ZodBoolean>;
|
|
7302
|
+
incremental: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
7303
|
+
make: z.ZodOptional<z.ZodBoolean>;
|
|
7304
|
+
emitAssets: z.ZodOptional<z.ZodBoolean>;
|
|
7305
|
+
inferAsyncModules: z.ZodOptional<z.ZodBoolean>;
|
|
7306
|
+
providedExports: z.ZodOptional<z.ZodBoolean>;
|
|
7307
|
+
moduleHashes: z.ZodOptional<z.ZodBoolean>;
|
|
7308
|
+
moduleCodegen: z.ZodOptional<z.ZodBoolean>;
|
|
7309
|
+
moduleRuntimeRequirements: z.ZodOptional<z.ZodBoolean>;
|
|
7310
|
+
}, "strict", z.ZodTypeAny, {
|
|
7311
|
+
make?: boolean | undefined;
|
|
7312
|
+
providedExports?: boolean | undefined;
|
|
7313
|
+
emitAssets?: boolean | undefined;
|
|
7314
|
+
inferAsyncModules?: boolean | undefined;
|
|
7315
|
+
moduleHashes?: boolean | undefined;
|
|
7316
|
+
moduleCodegen?: boolean | undefined;
|
|
7317
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
7318
|
+
}, {
|
|
7319
|
+
make?: boolean | undefined;
|
|
7320
|
+
providedExports?: boolean | undefined;
|
|
7321
|
+
emitAssets?: boolean | undefined;
|
|
7322
|
+
inferAsyncModules?: boolean | undefined;
|
|
7323
|
+
moduleHashes?: boolean | undefined;
|
|
7324
|
+
moduleCodegen?: boolean | undefined;
|
|
7325
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
7326
|
+
}>]>>;
|
|
7241
7327
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
7242
7328
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
7243
7329
|
bundlerInfo: z.ZodOptional<z.ZodObject<{
|
|
@@ -7253,21 +7339,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7253
7339
|
version?: string | undefined;
|
|
7254
7340
|
bundler?: string | undefined;
|
|
7255
7341
|
}>>;
|
|
7256
|
-
newIncremental: z.ZodOptional<z.ZodBoolean>;
|
|
7257
7342
|
}, "strict", z.ZodTypeAny, {
|
|
7258
7343
|
bundlerInfo?: {
|
|
7259
7344
|
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
7260
7345
|
version?: string | undefined;
|
|
7261
7346
|
bundler?: string | undefined;
|
|
7262
7347
|
} | undefined;
|
|
7263
|
-
newIncremental?: boolean | undefined;
|
|
7264
7348
|
}, {
|
|
7265
7349
|
bundlerInfo?: {
|
|
7266
7350
|
force?: boolean | ("version" | "uniqueId")[] | undefined;
|
|
7267
7351
|
version?: string | undefined;
|
|
7268
7352
|
bundler?: string | undefined;
|
|
7269
7353
|
} | undefined;
|
|
7270
|
-
newIncremental?: boolean | undefined;
|
|
7271
7354
|
}>>;
|
|
7272
7355
|
}, "strict", z.ZodTypeAny, {
|
|
7273
7356
|
css?: boolean | undefined;
|
|
@@ -7294,6 +7377,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7294
7377
|
outputModule?: boolean | undefined;
|
|
7295
7378
|
topLevelAwait?: boolean | undefined;
|
|
7296
7379
|
layers?: boolean | undefined;
|
|
7380
|
+
incremental?: boolean | {
|
|
7381
|
+
make?: boolean | undefined;
|
|
7382
|
+
providedExports?: boolean | undefined;
|
|
7383
|
+
emitAssets?: boolean | undefined;
|
|
7384
|
+
inferAsyncModules?: boolean | undefined;
|
|
7385
|
+
moduleHashes?: boolean | undefined;
|
|
7386
|
+
moduleCodegen?: boolean | undefined;
|
|
7387
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
7388
|
+
} | undefined;
|
|
7297
7389
|
futureDefaults?: boolean | undefined;
|
|
7298
7390
|
rspackFuture?: {
|
|
7299
7391
|
bundlerInfo?: {
|
|
@@ -7301,7 +7393,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7301
7393
|
version?: string | undefined;
|
|
7302
7394
|
bundler?: string | undefined;
|
|
7303
7395
|
} | undefined;
|
|
7304
|
-
newIncremental?: boolean | undefined;
|
|
7305
7396
|
} | undefined;
|
|
7306
7397
|
}, {
|
|
7307
7398
|
css?: boolean | undefined;
|
|
@@ -7328,6 +7419,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7328
7419
|
outputModule?: boolean | undefined;
|
|
7329
7420
|
topLevelAwait?: boolean | undefined;
|
|
7330
7421
|
layers?: boolean | undefined;
|
|
7422
|
+
incremental?: boolean | {
|
|
7423
|
+
make?: boolean | undefined;
|
|
7424
|
+
providedExports?: boolean | undefined;
|
|
7425
|
+
emitAssets?: boolean | undefined;
|
|
7426
|
+
inferAsyncModules?: boolean | undefined;
|
|
7427
|
+
moduleHashes?: boolean | undefined;
|
|
7428
|
+
moduleCodegen?: boolean | undefined;
|
|
7429
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
7430
|
+
} | undefined;
|
|
7331
7431
|
futureDefaults?: boolean | undefined;
|
|
7332
7432
|
rspackFuture?: {
|
|
7333
7433
|
bundlerInfo?: {
|
|
@@ -7335,7 +7435,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7335
7435
|
version?: string | undefined;
|
|
7336
7436
|
bundler?: string | undefined;
|
|
7337
7437
|
} | undefined;
|
|
7338
|
-
newIncremental?: boolean | undefined;
|
|
7339
7438
|
} | undefined;
|
|
7340
7439
|
}>>;
|
|
7341
7440
|
externals: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
@@ -7606,6 +7705,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7606
7705
|
errorsSpace: z.ZodOptional<z.ZodNumber>;
|
|
7607
7706
|
warningsSpace: z.ZodOptional<z.ZodNumber>;
|
|
7608
7707
|
}, "strict", z.ZodTypeAny, {
|
|
7708
|
+
source?: boolean | undefined;
|
|
7609
7709
|
publicPath?: boolean | undefined;
|
|
7610
7710
|
hash?: boolean | undefined;
|
|
7611
7711
|
all?: boolean | undefined;
|
|
@@ -7632,7 +7732,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7632
7732
|
builtAt?: boolean | undefined;
|
|
7633
7733
|
moduleAssets?: boolean | undefined;
|
|
7634
7734
|
nestedModules?: boolean | undefined;
|
|
7635
|
-
source?: boolean | undefined;
|
|
7636
7735
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
7637
7736
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
7638
7737
|
loggingTrace?: boolean | undefined;
|
|
@@ -7683,6 +7782,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7683
7782
|
errorsSpace?: number | undefined;
|
|
7684
7783
|
warningsSpace?: number | undefined;
|
|
7685
7784
|
}, {
|
|
7785
|
+
source?: boolean | undefined;
|
|
7686
7786
|
publicPath?: boolean | undefined;
|
|
7687
7787
|
hash?: boolean | undefined;
|
|
7688
7788
|
all?: boolean | undefined;
|
|
@@ -7709,7 +7809,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7709
7809
|
builtAt?: boolean | undefined;
|
|
7710
7810
|
moduleAssets?: boolean | undefined;
|
|
7711
7811
|
nestedModules?: boolean | undefined;
|
|
7712
|
-
source?: boolean | undefined;
|
|
7713
7812
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
7714
7813
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
7715
7814
|
loggingTrace?: boolean | undefined;
|
|
@@ -8042,7 +8141,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8042
8141
|
providedExports?: boolean | undefined;
|
|
8043
8142
|
concatenateModules?: boolean | undefined;
|
|
8044
8143
|
innerGraph?: boolean | undefined;
|
|
8045
|
-
mangleExports?: boolean | "
|
|
8144
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
8046
8145
|
nodeEnv?: string | false | undefined;
|
|
8047
8146
|
emitOnErrors?: boolean | undefined;
|
|
8048
8147
|
}, {
|
|
@@ -8108,7 +8207,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8108
8207
|
providedExports?: boolean | undefined;
|
|
8109
8208
|
concatenateModules?: boolean | undefined;
|
|
8110
8209
|
innerGraph?: boolean | undefined;
|
|
8111
|
-
mangleExports?: boolean | "
|
|
8210
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
8112
8211
|
nodeEnv?: string | false | undefined;
|
|
8113
8212
|
emitOnErrors?: boolean | undefined;
|
|
8114
8213
|
}>>;
|
|
@@ -9360,6 +9459,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9360
9459
|
outputModule?: boolean | undefined;
|
|
9361
9460
|
topLevelAwait?: boolean | undefined;
|
|
9362
9461
|
layers?: boolean | undefined;
|
|
9462
|
+
incremental?: boolean | {
|
|
9463
|
+
make?: boolean | undefined;
|
|
9464
|
+
providedExports?: boolean | undefined;
|
|
9465
|
+
emitAssets?: boolean | undefined;
|
|
9466
|
+
inferAsyncModules?: boolean | undefined;
|
|
9467
|
+
moduleHashes?: boolean | undefined;
|
|
9468
|
+
moduleCodegen?: boolean | undefined;
|
|
9469
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
9470
|
+
} | undefined;
|
|
9363
9471
|
futureDefaults?: boolean | undefined;
|
|
9364
9472
|
rspackFuture?: {
|
|
9365
9473
|
bundlerInfo?: {
|
|
@@ -9367,7 +9475,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9367
9475
|
version?: string | undefined;
|
|
9368
9476
|
bundler?: string | undefined;
|
|
9369
9477
|
} | undefined;
|
|
9370
|
-
newIncremental?: boolean | undefined;
|
|
9371
9478
|
} | undefined;
|
|
9372
9479
|
} | undefined;
|
|
9373
9480
|
externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
|
|
@@ -9429,6 +9536,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9429
9536
|
} | undefined;
|
|
9430
9537
|
watch?: boolean | undefined;
|
|
9431
9538
|
stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
|
9539
|
+
source?: boolean | undefined;
|
|
9432
9540
|
publicPath?: boolean | undefined;
|
|
9433
9541
|
hash?: boolean | undefined;
|
|
9434
9542
|
all?: boolean | undefined;
|
|
@@ -9455,7 +9563,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9455
9563
|
builtAt?: boolean | undefined;
|
|
9456
9564
|
moduleAssets?: boolean | undefined;
|
|
9457
9565
|
nestedModules?: boolean | undefined;
|
|
9458
|
-
source?: boolean | undefined;
|
|
9459
9566
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
9460
9567
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
9461
9568
|
loggingTrace?: boolean | undefined;
|
|
@@ -9570,7 +9677,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9570
9677
|
providedExports?: boolean | undefined;
|
|
9571
9678
|
concatenateModules?: boolean | undefined;
|
|
9572
9679
|
innerGraph?: boolean | undefined;
|
|
9573
|
-
mangleExports?: boolean | "
|
|
9680
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
9574
9681
|
nodeEnv?: string | false | undefined;
|
|
9575
9682
|
emitOnErrors?: boolean | undefined;
|
|
9576
9683
|
} | undefined;
|
|
@@ -9934,6 +10041,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9934
10041
|
outputModule?: boolean | undefined;
|
|
9935
10042
|
topLevelAwait?: boolean | undefined;
|
|
9936
10043
|
layers?: boolean | undefined;
|
|
10044
|
+
incremental?: boolean | {
|
|
10045
|
+
make?: boolean | undefined;
|
|
10046
|
+
providedExports?: boolean | undefined;
|
|
10047
|
+
emitAssets?: boolean | undefined;
|
|
10048
|
+
inferAsyncModules?: boolean | undefined;
|
|
10049
|
+
moduleHashes?: boolean | undefined;
|
|
10050
|
+
moduleCodegen?: boolean | undefined;
|
|
10051
|
+
moduleRuntimeRequirements?: boolean | undefined;
|
|
10052
|
+
} | undefined;
|
|
9937
10053
|
futureDefaults?: boolean | undefined;
|
|
9938
10054
|
rspackFuture?: {
|
|
9939
10055
|
bundlerInfo?: {
|
|
@@ -9941,7 +10057,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9941
10057
|
version?: string | undefined;
|
|
9942
10058
|
bundler?: string | undefined;
|
|
9943
10059
|
} | undefined;
|
|
9944
|
-
newIncremental?: boolean | undefined;
|
|
9945
10060
|
} | undefined;
|
|
9946
10061
|
} | undefined;
|
|
9947
10062
|
externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
|
|
@@ -10003,6 +10118,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
10003
10118
|
} | undefined;
|
|
10004
10119
|
watch?: boolean | undefined;
|
|
10005
10120
|
stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
|
10121
|
+
source?: boolean | undefined;
|
|
10006
10122
|
publicPath?: boolean | undefined;
|
|
10007
10123
|
hash?: boolean | undefined;
|
|
10008
10124
|
all?: boolean | undefined;
|
|
@@ -10029,7 +10145,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
10029
10145
|
builtAt?: boolean | undefined;
|
|
10030
10146
|
moduleAssets?: boolean | undefined;
|
|
10031
10147
|
nestedModules?: boolean | undefined;
|
|
10032
|
-
source?: boolean | undefined;
|
|
10033
10148
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
10034
10149
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
10035
10150
|
loggingTrace?: boolean | undefined;
|
|
@@ -10144,7 +10259,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
10144
10259
|
providedExports?: boolean | undefined;
|
|
10145
10260
|
concatenateModules?: boolean | undefined;
|
|
10146
10261
|
innerGraph?: boolean | undefined;
|
|
10147
|
-
mangleExports?: boolean | "
|
|
10262
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
10148
10263
|
nodeEnv?: string | false | undefined;
|
|
10149
10264
|
emitOnErrors?: boolean | undefined;
|
|
10150
10265
|
} | undefined;
|
package/dist/config/zod.js
CHANGED
|
@@ -867,8 +867,7 @@ const rspackFutureOptions = zod_1.z.strictObject({
|
|
|
867
867
|
.or(zod_1.z.array(zod_1.z.enum(["version", "uniqueId"])))
|
|
868
868
|
.optional()
|
|
869
869
|
})
|
|
870
|
-
.optional()
|
|
871
|
-
newIncremental: zod_1.z.boolean().optional()
|
|
870
|
+
.optional()
|
|
872
871
|
});
|
|
873
872
|
const listenOptions = zod_1.z.object({
|
|
874
873
|
port: zod_1.z.number().optional(),
|
|
@@ -895,6 +894,15 @@ const lazyCompilationOptions = zod_1.z.object({
|
|
|
895
894
|
.or(zod_1.z.function().args(zod_1.z.custom()).returns(zod_1.z.boolean()))
|
|
896
895
|
.optional()
|
|
897
896
|
});
|
|
897
|
+
const incremental = zod_1.z.strictObject({
|
|
898
|
+
make: zod_1.z.boolean().optional(),
|
|
899
|
+
emitAssets: zod_1.z.boolean().optional(),
|
|
900
|
+
inferAsyncModules: zod_1.z.boolean().optional(),
|
|
901
|
+
providedExports: zod_1.z.boolean().optional(),
|
|
902
|
+
moduleHashes: zod_1.z.boolean().optional(),
|
|
903
|
+
moduleCodegen: zod_1.z.boolean().optional(),
|
|
904
|
+
moduleRuntimeRequirements: zod_1.z.boolean().optional()
|
|
905
|
+
});
|
|
898
906
|
const experiments = zod_1.z.strictObject({
|
|
899
907
|
lazyCompilation: zod_1.z.boolean().optional().or(lazyCompilationOptions),
|
|
900
908
|
asyncWebAssembly: zod_1.z.boolean().optional(),
|
|
@@ -902,6 +910,7 @@ const experiments = zod_1.z.strictObject({
|
|
|
902
910
|
topLevelAwait: zod_1.z.boolean().optional(),
|
|
903
911
|
css: zod_1.z.boolean().optional(),
|
|
904
912
|
layers: zod_1.z.boolean().optional(),
|
|
913
|
+
incremental: zod_1.z.boolean().or(incremental).optional(),
|
|
905
914
|
futureDefaults: zod_1.z.boolean().optional(),
|
|
906
915
|
rspackFuture: rspackFutureOptions.optional()
|
|
907
916
|
});
|
package/dist/exports.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export type { NormalModuleFactory } from "./NormalModuleFactory";
|
|
|
17
17
|
export { RuntimeGlobals } from "./RuntimeGlobals";
|
|
18
18
|
export type { StatsAsset, StatsChunk, StatsCompilation, StatsError, StatsModule } from "./Stats";
|
|
19
19
|
export { Stats } from "./Stats";
|
|
20
|
+
export { RuntimeModule } from "./RuntimeModule";
|
|
20
21
|
import * as ModuleFilenameHelpers from "./lib/ModuleFilenameHelpers";
|
|
21
22
|
export { ModuleFilenameHelpers };
|
|
22
23
|
export { Template } from "./Template";
|
|
@@ -149,6 +150,7 @@ export { SourceMapDevToolPlugin } from "./builtin-plugin";
|
|
|
149
150
|
export { EvalSourceMapDevToolPlugin } from "./builtin-plugin";
|
|
150
151
|
export { EvalDevToolModulePlugin } from "./builtin-plugin";
|
|
151
152
|
export { CssExtractRspackPlugin } from "./builtin-plugin";
|
|
153
|
+
export { ContextReplacementPlugin } from "./builtin-plugin";
|
|
152
154
|
export type { SwcLoaderEnvConfig, SwcLoaderEsParserConfig, SwcLoaderJscConfig, SwcLoaderModuleConfig, SwcLoaderOptions, SwcLoaderParserConfig, SwcLoaderTransformConfig, SwcLoaderTsParserConfig } from "./builtin-loader/swc/index";
|
|
153
155
|
export { type LoaderOptions as LightningcssLoaderOptions, type FeatureOptions as LightningcssFeatureOptions } from "./builtin-loader/lightningcss/index";
|
|
154
156
|
import { cleanupGlobalTrace, registerGlobalTrace } from "@rspack/binding";
|
package/dist/exports.js
CHANGED
|
@@ -26,8 +26,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.experiments = exports.CssExtractRspackPlugin = void 0;
|
|
29
|
+
exports.EvalSourceMapDevToolPlugin = exports.SourceMapDevToolPlugin = exports.CopyRspackPlugin = exports.LightningCssMinimizerRspackPlugin = exports.SwcJsMinimizerRspackPlugin = exports.HtmlRspackPlugin = exports.sharing = exports.container = exports.optimize = exports.webworker = exports.javascript = exports.wasm = exports.library = exports.electron = exports.node = exports.web = exports.NormalModuleReplacementPlugin = exports.LoaderTargetPlugin = exports.LoaderOptionsPlugin = exports.EnvironmentPlugin = exports.NoEmitOnErrorsPlugin = exports.HotModuleReplacementPlugin = exports.ExternalsPlugin = exports.DynamicEntryPlugin = exports.EntryPlugin = exports.ProgressPlugin = exports.DefinePlugin = exports.ProvidePlugin = exports.IgnorePlugin = exports.BannerPlugin = exports.EntryOptionPlugin = exports.util = exports.ValidationError = exports.config = exports.sources = exports.WebpackError = exports.Template = exports.ModuleFilenameHelpers = exports.RuntimeModule = exports.Stats = exports.RuntimeGlobals = exports.NormalModule = exports.MultiStats = exports.WebpackOptionsApply = exports.RspackOptionsApply = exports.MultiCompiler = exports.Compiler = exports.Compilation = exports.version = exports.rspackVersion = void 0;
|
|
30
|
+
exports.experiments = exports.ContextReplacementPlugin = exports.CssExtractRspackPlugin = exports.EvalDevToolModulePlugin = void 0;
|
|
31
31
|
const package_json_1 = require("../package.json");
|
|
32
32
|
// this is a hack to be compatible with plugin which detect webpack's version
|
|
33
33
|
const rspackVersion = package_json_1.version;
|
|
@@ -51,6 +51,8 @@ var RuntimeGlobals_1 = require("./RuntimeGlobals");
|
|
|
51
51
|
Object.defineProperty(exports, "RuntimeGlobals", { enumerable: true, get: function () { return RuntimeGlobals_1.RuntimeGlobals; } });
|
|
52
52
|
var Stats_1 = require("./Stats");
|
|
53
53
|
Object.defineProperty(exports, "Stats", { enumerable: true, get: function () { return Stats_1.Stats; } });
|
|
54
|
+
var RuntimeModule_1 = require("./RuntimeModule");
|
|
55
|
+
Object.defineProperty(exports, "RuntimeModule", { enumerable: true, get: function () { return RuntimeModule_1.RuntimeModule; } });
|
|
54
56
|
// API extractor not working with some re-exports, see: https://github.com/microsoft/fluentui/issues/20694
|
|
55
57
|
const ModuleFilenameHelpers = __importStar(require("./lib/ModuleFilenameHelpers"));
|
|
56
58
|
exports.ModuleFilenameHelpers = ModuleFilenameHelpers;
|
|
@@ -169,6 +171,8 @@ var builtin_plugin_27 = require("./builtin-plugin");
|
|
|
169
171
|
Object.defineProperty(exports, "EvalDevToolModulePlugin", { enumerable: true, get: function () { return builtin_plugin_27.EvalDevToolModulePlugin; } });
|
|
170
172
|
var builtin_plugin_28 = require("./builtin-plugin");
|
|
171
173
|
Object.defineProperty(exports, "CssExtractRspackPlugin", { enumerable: true, get: function () { return builtin_plugin_28.CssExtractRspackPlugin; } });
|
|
174
|
+
var builtin_plugin_29 = require("./builtin-plugin");
|
|
175
|
+
Object.defineProperty(exports, "ContextReplacementPlugin", { enumerable: true, get: function () { return builtin_plugin_29.ContextReplacementPlugin; } });
|
|
172
176
|
///// Experiments Stuff /////
|
|
173
177
|
const binding_1 = require("@rspack/binding");
|
|
174
178
|
exports.experiments = {
|