UNPKG

open-next-cdk

Version:

Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK

8 lines (7 loc) 412 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fromStatic = void 0; const property_provider_1 = require("@smithy/property-provider"); const isFunction = (func) => typeof func === "function"; const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : (0, property_provider_1.fromStatic)(defaultValue); exports.fromStatic = fromStatic;