@rspack-canary/browser 1.7.1-canary-5eaa0135-20260103025009 → 1.7.1-canary-becc2931-20260103070024
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.
|
@@ -4,6 +4,7 @@ export interface ModuleFederationRuntimeExperimentsOptions {
|
|
|
4
4
|
export interface ModuleFederationRuntimeOptions {
|
|
5
5
|
entryRuntime?: string;
|
|
6
6
|
experiments?: ModuleFederationRuntimeExperimentsOptions;
|
|
7
|
+
asyncStartup?: boolean;
|
|
7
8
|
}
|
|
8
9
|
export declare const ModuleFederationRuntimePlugin: {
|
|
9
10
|
new (options?: ModuleFederationRuntimeOptions | undefined): {
|
package/dist/index.mjs
CHANGED
|
@@ -58172,7 +58172,7 @@ const applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
|
58172
58172
|
if ('object' == typeof rspackFuture) {
|
|
58173
58173
|
D(rspackFuture, 'bundlerInfo', {});
|
|
58174
58174
|
if ('object' == typeof rspackFuture.bundlerInfo) {
|
|
58175
|
-
D(rspackFuture.bundlerInfo, 'version', "1.7.1-canary-
|
|
58175
|
+
D(rspackFuture.bundlerInfo, 'version', "1.7.1-canary-becc2931-20260103070024");
|
|
58176
58176
|
D(rspackFuture.bundlerInfo, 'bundler', 'rspack');
|
|
58177
58177
|
D(rspackFuture.bundlerInfo, 'force', !library);
|
|
58178
58178
|
}
|
|
@@ -62365,7 +62365,7 @@ class MultiStats {
|
|
|
62365
62365
|
return obj;
|
|
62366
62366
|
});
|
|
62367
62367
|
if (childOptions.version) {
|
|
62368
|
-
obj.rspackVersion = "1.7.1-canary-
|
|
62368
|
+
obj.rspackVersion = "1.7.1-canary-becc2931-20260103070024";
|
|
62369
62369
|
obj.version = "5.75.0";
|
|
62370
62370
|
}
|
|
62371
62371
|
if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join('');
|
|
@@ -63681,7 +63681,7 @@ const SIMPLE_EXTRACTORS = {
|
|
|
63681
63681
|
},
|
|
63682
63682
|
version: (object)=>{
|
|
63683
63683
|
object.version = "5.75.0";
|
|
63684
|
-
object.rspackVersion = "1.7.1-canary-
|
|
63684
|
+
object.rspackVersion = "1.7.1-canary-becc2931-20260103070024";
|
|
63685
63685
|
},
|
|
63686
63686
|
env: (object, _compilation, _context, { _env })=>{
|
|
63687
63687
|
object.env = _env;
|
|
@@ -66249,12 +66249,14 @@ class ModuleFederationPlugin {
|
|
|
66249
66249
|
...compiler.options.resolve.alias
|
|
66250
66250
|
};
|
|
66251
66251
|
const entryRuntime = getDefaultEntryRuntime(paths, this._options, compiler);
|
|
66252
|
+
const asyncStartup = this._options.experiments?.asyncStartup ?? false;
|
|
66252
66253
|
const runtimeExperiments = {
|
|
66253
|
-
asyncStartup
|
|
66254
|
+
asyncStartup
|
|
66254
66255
|
};
|
|
66255
66256
|
new ModuleFederationRuntimePlugin({
|
|
66256
66257
|
entryRuntime,
|
|
66257
|
-
experiments: runtimeExperiments
|
|
66258
|
+
experiments: runtimeExperiments,
|
|
66259
|
+
asyncStartup
|
|
66258
66260
|
}).apply(compiler);
|
|
66259
66261
|
const v1Options = {
|
|
66260
66262
|
name: this._options.name,
|
|
@@ -66836,7 +66838,7 @@ function transformSync(source, options) {
|
|
|
66836
66838
|
const _options = JSON.stringify(options || {});
|
|
66837
66839
|
return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
|
|
66838
66840
|
}
|
|
66839
|
-
const exports_rspackVersion = "1.7.1-canary-
|
|
66841
|
+
const exports_rspackVersion = "1.7.1-canary-becc2931-20260103070024";
|
|
66840
66842
|
const exports_version = "5.75.0";
|
|
66841
66843
|
const exports_WebpackError = Error;
|
|
66842
66844
|
const sources = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
|
package/dist/napi-binding.d.ts
CHANGED
|
@@ -2477,6 +2477,7 @@ export interface RawModuleFederationRuntimeExperimentsOptions {
|
|
|
2477
2477
|
export interface RawModuleFederationRuntimePluginOptions {
|
|
2478
2478
|
entryRuntime?: string | undefined
|
|
2479
2479
|
experiments?: RawModuleFederationRuntimeExperimentsOptions
|
|
2480
|
+
asyncStartup?: boolean
|
|
2480
2481
|
}
|
|
2481
2482
|
|
|
2482
2483
|
export interface RawModuleFilenameTemplateFnCtx {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/browser",
|
|
3
|
-
"version": "1.7.1-canary-
|
|
3
|
+
"version": "1.7.1-canary-becc2931-20260103070024",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Rspack for running in the browser. This is still in early stage and may not follow the semver.",
|