UNPKG

@aws/cloudfront-hosting-toolkit

Version:

CloudFront Hosting Toolkit offers the convenience of a managed frontend hosting service while retaining full control over the hosting and deployment infrastructure to make it your own.

12 lines (11 loc) 368 B
const AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE"; const AWS_DEFAULTS_MODE_CONFIG = "defaults_mode"; export const NODE_DEFAULTS_MODE_CONFIG_OPTIONS = { environmentVariableSelector: (env) => { return env[AWS_DEFAULTS_MODE_ENV]; }, configFileSelector: (profile) => { return profile[AWS_DEFAULTS_MODE_CONFIG]; }, default: "legacy", };