restore basic Angular Universal build

This commit is contained in:
Mononaut
2023-09-26 19:18:11 +01:00
parent 00a94f9e3c
commit 68b55db872
8 changed files with 2937 additions and 91 deletions

View File

@@ -71,7 +71,7 @@ const newConfig = `(function (window) {
window.__env.${obj.key} = ${typeof obj.value === 'string' ? `'${obj.value}'` : obj.value};`, '')}
window.__env.GIT_COMMIT_HASH = '${gitCommitHash}';
window.__env.PACKAGE_JSON_VERSION = '${packetJsonVersion}';
}(this));`;
}(global || this));`;
const newConfigTemplate = `(function (window) {
window.__env = window.__env || {};${settings.reduce((str, obj) => `${str}