@vercel/build-utils 13.14.1 → 13.14.2
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/CHANGELOG.md +6 -0
- package/dist/types.d.ts +9 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -658,6 +658,12 @@ export interface TriggerEvent extends TriggerEventBase {
|
|
|
658
658
|
}
|
|
659
659
|
export type ServiceRuntime = 'node' | 'python' | 'go' | 'rust' | 'ruby';
|
|
660
660
|
export type ServiceType = 'web' | 'cron' | 'worker';
|
|
661
|
+
export interface ServiceMount {
|
|
662
|
+
/** URL path prefix where the service is mounted. */
|
|
663
|
+
path?: string;
|
|
664
|
+
/** Optional subdomain this service is mounted on. */
|
|
665
|
+
subdomain?: string;
|
|
666
|
+
}
|
|
661
667
|
/**
|
|
662
668
|
* Configuration for a service in vercel.json.
|
|
663
669
|
* @experimental This feature is experimental and may change.
|
|
@@ -684,7 +690,9 @@ export interface ExperimentalServiceConfig {
|
|
|
684
690
|
maxDuration?: MaxDuration;
|
|
685
691
|
includeFiles?: string | string[];
|
|
686
692
|
excludeFiles?: string | string[];
|
|
687
|
-
/**
|
|
693
|
+
/** Preferred routing config alias for routePrefix/subdomain. */
|
|
694
|
+
mount?: string | ServiceMount;
|
|
695
|
+
/** URL prefix for routing (deprecated, use mount instead) */
|
|
688
696
|
routePrefix?: string;
|
|
689
697
|
/** Subdomain this service should respond to (web services only). */
|
|
690
698
|
subdomain?: string;
|