@rspack-canary/core 1.6.2-canary-5409f3fc-20251110174036 → 1.6.2-canary-4e6be088-20251110224718
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.
|
@@ -123,6 +123,7 @@ export interface ExperimentsNormalized {
|
|
|
123
123
|
lazyBarrel?: boolean;
|
|
124
124
|
nativeWatcher?: boolean;
|
|
125
125
|
deferImport?: boolean;
|
|
126
|
+
mfAsyncStartup?: boolean;
|
|
126
127
|
}
|
|
127
128
|
export type IgnoreWarningsNormalized = ((warning: WebpackError, compilation: Compilation) => boolean)[];
|
|
128
129
|
export type OptimizationRuntimeChunkNormalized = false | {
|
package/dist/config/types.d.ts
CHANGED
|
@@ -2156,6 +2156,11 @@ export type Experiments = {
|
|
|
2156
2156
|
* @default false
|
|
2157
2157
|
*/
|
|
2158
2158
|
deferImport?: boolean;
|
|
2159
|
+
/**
|
|
2160
|
+
* Enable async startup for Module Federation
|
|
2161
|
+
* @default false
|
|
2162
|
+
*/
|
|
2163
|
+
mfAsyncStartup?: boolean;
|
|
2159
2164
|
};
|
|
2160
2165
|
export type Watch = boolean;
|
|
2161
2166
|
/** Options for watch mode. */
|
package/dist/index.js
CHANGED
|
@@ -5747,7 +5747,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
5747
5747
|
}, applyExperimentsDefaults = (experiments, { development })=>{
|
|
5748
5748
|
F(experiments, "cache", ()=>development), D(experiments, "futureDefaults", !1), D(experiments, "lazyCompilation", !1), D(experiments, "asyncWebAssembly", experiments.futureDefaults), D(experiments, "css", !!experiments.futureDefaults || void 0), D(experiments, "topLevelAwait", !0), D(experiments, "deferImport", !1), D(experiments, "buildHttp", void 0), experiments.buildHttp && "object" == typeof experiments.buildHttp && D(experiments.buildHttp, "upgrade", !1), D(experiments, "incremental", {}), "object" == typeof experiments.incremental && (D(experiments.incremental, "silent", !0), D(experiments.incremental, "make", !0), D(experiments.incremental, "inferAsyncModules", !0), D(experiments.incremental, "providedExports", !0), D(experiments.incremental, "dependenciesDiagnostics", !0), D(experiments.incremental, "sideEffects", !0), D(experiments.incremental, "buildChunkGraph", !1), D(experiments.incremental, "moduleIds", !0), D(experiments.incremental, "chunkIds", !0), D(experiments.incremental, "modulesHashes", !0), D(experiments.incremental, "modulesCodegen", !0), D(experiments.incremental, "modulesRuntimeRequirements", !0), D(experiments.incremental, "chunksRuntimeRequirements", !0), D(experiments.incremental, "chunksHashes", !0), D(experiments.incremental, "chunksRender", !0), D(experiments.incremental, "emitAssets", !0)), D(experiments, "rspackFuture", {}), D(experiments, "parallelCodeSplitting", !1), D(experiments, "parallelLoader", !1), D(experiments, "useInputFileSystem", !1), D(experiments, "inlineConst", !1), D(experiments, "inlineEnum", !1), D(experiments, "typeReexportsPresence", !1), D(experiments, "lazyBarrel", !0);
|
|
5749
5749
|
}, applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
5750
|
-
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.6.2-canary-
|
|
5750
|
+
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.6.2-canary-4e6be088-20251110224718"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
|
|
5751
5751
|
}, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module1, { cache, asyncWebAssembly, css, targetProperties, mode, uniqueName, usedExports, inlineConst, deferImport })=>{
|
|
5752
5752
|
if (assertNotNill(module1.parser), assertNotNill(module1.generator), cache ? D(module1, "unsafeCache", /[\\/]node_modules[\\/]/) : D(module1, "unsafeCache", !1), F(module1.parser, "asset", ()=>({})), assertNotNill(module1.parser.asset), F(module1.parser.asset, "dataUrlCondition", ()=>({})), "object" == typeof module1.parser.asset.dataUrlCondition && D(module1.parser.asset.dataUrlCondition, "maxSize", 8096), F(module1.parser, "javascript", ()=>({})), assertNotNill(module1.parser.javascript), ((parserOptions, { usedExports, inlineConst, deferImport })=>{
|
|
5753
5753
|
D(parserOptions, "dynamicImportMode", "lazy"), D(parserOptions, "dynamicImportPrefetch", !1), D(parserOptions, "dynamicImportPreload", !1), D(parserOptions, "url", !0), D(parserOptions, "exprContextCritical", !0), D(parserOptions, "unknownContextCritical", !0), D(parserOptions, "wrappedContextCritical", !1), D(parserOptions, "wrappedContextRegExp", /.*/), D(parserOptions, "strictExportPresence", !1), D(parserOptions, "requireAsExpression", !0), D(parserOptions, "requireDynamic", !0), D(parserOptions, "requireResolve", !0), D(parserOptions, "commonjs", !0), D(parserOptions, "importDynamic", !0), D(parserOptions, "worker", [
|
|
@@ -6389,7 +6389,8 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
6389
6389
|
parallelCodeSplitting: experiments.parallelCodeSplitting,
|
|
6390
6390
|
buildHttp: experiments.buildHttp,
|
|
6391
6391
|
parallelLoader: experiments.parallelLoader,
|
|
6392
|
-
useInputFileSystem: experiments.useInputFileSystem
|
|
6392
|
+
useInputFileSystem: experiments.useInputFileSystem,
|
|
6393
|
+
mfAsyncStartup: experiments.mfAsyncStartup ?? !1
|
|
6393
6394
|
})),
|
|
6394
6395
|
watch: config.watch,
|
|
6395
6396
|
watchOptions: cloneObject(config.watchOptions),
|
|
@@ -7397,7 +7398,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
7397
7398
|
});
|
|
7398
7399
|
}
|
|
7399
7400
|
}
|
|
7400
|
-
let CORE_VERSION = "1.6.2-canary-
|
|
7401
|
+
let CORE_VERSION = "1.6.2-canary-4e6be088-20251110224718", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
|
|
7401
7402
|
|
|
7402
7403
|
Help:
|
|
7403
7404
|
Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
|
|
@@ -8690,7 +8691,7 @@ Help:
|
|
|
8690
8691
|
obj.children = this.stats.map((stat, idx)=>{
|
|
8691
8692
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
8692
8693
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
8693
|
-
}), childOptions.version && (obj.rspackVersion = "1.6.2-canary-
|
|
8694
|
+
}), childOptions.version && (obj.rspackVersion = "1.6.2-canary-4e6be088-20251110224718", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
|
|
8694
8695
|
let mapError = (j, obj)=>({
|
|
8695
8696
|
...obj,
|
|
8696
8697
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -9589,7 +9590,7 @@ Help:
|
|
|
9589
9590
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
9590
9591
|
},
|
|
9591
9592
|
version: (object)=>{
|
|
9592
|
-
object.version = "5.75.0", object.rspackVersion = "1.6.2-canary-
|
|
9593
|
+
object.version = "5.75.0", object.rspackVersion = "1.6.2-canary-4e6be088-20251110224718";
|
|
9593
9594
|
},
|
|
9594
9595
|
env: (object, _compilation, _context, { _env })=>{
|
|
9595
9596
|
object.env = _env;
|
|
@@ -11808,7 +11809,7 @@ Help:
|
|
|
11808
11809
|
let _options = JSON.stringify(options || {});
|
|
11809
11810
|
return binding_default().transform(source, _options);
|
|
11810
11811
|
}
|
|
11811
|
-
let exports_rspackVersion = "1.6.2-canary-
|
|
11812
|
+
let exports_rspackVersion = "1.6.2-canary-4e6be088-20251110224718", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
|
|
11812
11813
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
11813
11814
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
11814
11815
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/core",
|
|
3
|
-
"version": "1.6.2-canary-
|
|
3
|
+
"version": "1.6.2-canary-4e6be088-20251110224718",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@module-federation/runtime-tools": "0.21.2",
|
|
60
60
|
"@rspack/lite-tapable": "1.0.1",
|
|
61
|
-
"@rspack/binding": "npm:@rspack-canary/binding@1.6.2-canary-
|
|
61
|
+
"@rspack/binding": "npm:@rspack-canary/binding@1.6.2-canary-4e6be088-20251110224718"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@swc/helpers": ">=0.5.1"
|