@utoo/pack-shared 1.5.21 → 1.5.23

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/cjs/config.d.ts CHANGED
@@ -265,6 +265,13 @@ export interface ConfigComplete {
265
265
  exclude?: string[];
266
266
  };
267
267
  concatenateModules?: boolean;
268
+ /**
269
+ * Share one browser runtime asset across production application entries.
270
+ * Reduces duplicated runtime code and lets pages reuse the cached runtime,
271
+ * but adds a request compared with an inline runtime for a single entry.
272
+ * Defaults to `false`; ignored in development, Node.js, and library builds.
273
+ */
274
+ sharedRuntime?: boolean;
268
275
  removeUnusedExports?: boolean;
269
276
  removeUnusedImports?: boolean;
270
277
  nestedAsyncChunking?: boolean;
package/esm/config.d.ts CHANGED
@@ -265,6 +265,13 @@ export interface ConfigComplete {
265
265
  exclude?: string[];
266
266
  };
267
267
  concatenateModules?: boolean;
268
+ /**
269
+ * Share one browser runtime asset across production application entries.
270
+ * Reduces duplicated runtime code and lets pages reuse the cached runtime,
271
+ * but adds a request compared with an inline runtime for a single entry.
272
+ * Defaults to `false`; ignored in development, Node.js, and library builds.
273
+ */
274
+ sharedRuntime?: boolean;
268
275
  removeUnusedExports?: boolean;
269
276
  removeUnusedImports?: boolean;
270
277
  nestedAsyncChunking?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack-shared",
3
- "version": "1.5.21",
3
+ "version": "1.5.23",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "types": "esm/index.d.ts",