UNPKG

infrastructure-components

Version:

Infrastructure-Components configure the infrastructure of your React-App as part of your React-Components.

14 lines 584 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * the resolved assets path is the path ot the assets folder in the running environment */ exports.resolveAssetsPath = (buildPath, serverName, assetsPath) => { const path = require('path'); const resolvedPath = path.resolve(buildPath, serverName, assetsPath); return !resolvedPath.endsWith("/") ? resolvedPath + "/" : resolvedPath; }; exports.getStaticBucketName = (stackName, assetsPath, stage) => { return `${stackName}-${assetsPath}-${stage}`; }; //# sourceMappingURL=iso-libs.js.map