@module-federation/vite 1.11.1 → 1.12.1-next.1

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/lib/index.d.cts CHANGED
@@ -60,6 +60,13 @@ type ModuleFederationOptions = {
60
60
  * Defaults to 10 seconds.
61
61
  */
62
62
  moduleParseTimeout?: number;
63
+ /**
64
+ * Idle timeout for parsing modules in seconds. When set, the timeout resets
65
+ * on every parsed module and only fires when there has been no module activity
66
+ * for the configured duration. Prefer this over `moduleParseTimeout` for large
67
+ * codebases where the total build time may exceed the fixed timeout.
68
+ */
69
+ moduleParseIdleTimeout?: number;
63
70
  /**
64
71
  * Allows generate additional remoteEntry file for "var" host environment
65
72
  */
package/lib/index.d.mts CHANGED
@@ -60,6 +60,13 @@ type ModuleFederationOptions = {
60
60
  * Defaults to 10 seconds.
61
61
  */
62
62
  moduleParseTimeout?: number;
63
+ /**
64
+ * Idle timeout for parsing modules in seconds. When set, the timeout resets
65
+ * on every parsed module and only fires when there has been no module activity
66
+ * for the configured duration. Prefer this over `moduleParseTimeout` for large
67
+ * codebases where the total build time may exceed the fixed timeout.
68
+ */
69
+ moduleParseIdleTimeout?: number;
63
70
  /**
64
71
  * Allows generate additional remoteEntry file for "var" host environment
65
72
  */