Sets the Node.js runtime that should be used inside the cloud. By default, local runtime is used, falling back to Node.js 18 if not supported.
Optional
connectorThe name of the connector package corresponding to the framework your app uses, or the path to a directory that implements the connector interface.
Optional
edge_Optional
environment_Optional
environmentsConfig overrides to be applied when deploying to specific environments.
1
Optional
interpolationInterpolation values that will be used for interpolation that are not supported when testing locally but are available during production.
%{virt_dst_country} is not supported in a local development but is supported in a production to show this value locally, the following property should be set as following:
interpolationValues.virt_dst_country: 'US'
Optional
nodejsIf '@edgio/nodejs-connector' is used as the connector, this value will be used to configure it.
Optional
organizationThe name of the organization in Edgio to which this app should be deployed.
1
10000
Optional
prerenderThis option allows to lower the number of concurrently prerendered pages. Use this option to mitigate the load on your APIs at the time of deployment.
Optional
proxySet this option to false to remove the default rule that proxies all requests to serverless. This is useful if you want to proxy all unmatched pages to different origin.
true
Optional
purgeThis option allows to set the behavior of cache purging each time you deploy.
Optional
redirectsOptional
routesThe path to the Edgio routes file. If omitted the default paths of routes.js, routes.ts, and routes.cjs will be used.
Optional
rulesOptional
serverlessOptions for constructing the serverless bundle.
Optional
sourcesA list of glob patterns identifying which source files should be uploaded when running edgio deploy --includeSources
.
This option is primarily used to share source code with Edgio support personnel for the purpose of debugging.
If omitted, edgio deploy --includeSources
will result in all files which are not gitignored being uploaded to Edgio.
Optional
staticOptions for serving static assets.
Optional
teamThe name of the team in Edgio to which this app should be deployed. This was replaced by organization property and will be removed in the future releases.
Use organization instead.
Generated using TypeDoc
The object exported by edgio.config.js