@utoo/pack-shared 1.5.3-alpha.0 → 1.5.4

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
@@ -183,6 +183,10 @@ export interface ConfigComplete {
183
183
  mode?: "production" | "development";
184
184
  module?: ModuleOptions;
185
185
  resolve?: ResolveOptions;
186
+ /**
187
+ * External dependencies for client and Node-target builds. Server entries and
188
+ * Server Functions also use this map unless `server.externals` is provided.
189
+ */
186
190
  externals?: Record<string, ExternalConfig>;
187
191
  output?: {
188
192
  path?: string;
@@ -299,6 +303,17 @@ export interface ConfigComplete {
299
303
  server?: {
300
304
  /** Entry point for the server runtime (e.g. "src/server.ts") */
301
305
  entry?: ServerEntry;
306
+ /**
307
+ * Server-only resolution options. Alias entries override matching
308
+ * `resolve.alias` entries; extensions replace `resolve.extensions` when set.
309
+ */
310
+ resolve?: ResolveOptions;
311
+ /**
312
+ * Server-specific externals. When omitted, top-level `externals` are used for
313
+ * backwards compatibility. When provided, this replaces the top-level map for
314
+ * server entries and Server Functions; use `{}` to disable configured externals.
315
+ */
316
+ externals?: Record<string, ExternalConfig>;
302
317
  output?: {
303
318
  /** Output path for server chunks, relative to project root. */
304
319
  path?: string;
package/esm/config.d.ts CHANGED
@@ -183,6 +183,10 @@ export interface ConfigComplete {
183
183
  mode?: "production" | "development";
184
184
  module?: ModuleOptions;
185
185
  resolve?: ResolveOptions;
186
+ /**
187
+ * External dependencies for client and Node-target builds. Server entries and
188
+ * Server Functions also use this map unless `server.externals` is provided.
189
+ */
186
190
  externals?: Record<string, ExternalConfig>;
187
191
  output?: {
188
192
  path?: string;
@@ -299,6 +303,17 @@ export interface ConfigComplete {
299
303
  server?: {
300
304
  /** Entry point for the server runtime (e.g. "src/server.ts") */
301
305
  entry?: ServerEntry;
306
+ /**
307
+ * Server-only resolution options. Alias entries override matching
308
+ * `resolve.alias` entries; extensions replace `resolve.extensions` when set.
309
+ */
310
+ resolve?: ResolveOptions;
311
+ /**
312
+ * Server-specific externals. When omitted, top-level `externals` are used for
313
+ * backwards compatibility. When provided, this replaces the top-level map for
314
+ * server entries and Server Functions; use `{}` to disable configured externals.
315
+ */
316
+ externals?: Record<string, ExternalConfig>;
302
317
  output?: {
303
318
  /** Output path for server chunks, relative to project root. */
304
319
  path?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack-shared",
3
- "version": "1.5.3-alpha.0",
3
+ "version": "1.5.4",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "types": "esm/index.d.ts",