Added the possibility to override partial configs during deployments

Added default output to jest (for terminal output...)
Upgraded npm packages. Left jest on 27 because of breaking changes in 28
This commit is contained in:
2022-07-25 10:13:47 +02:00
parent 3324b299fd
commit 5829588665
20 changed files with 1478 additions and 1532 deletions

17
public/configOverride.js Normal file
View File

@@ -0,0 +1,17 @@
/**
* This is the config override file.
* This file is meant to be replaced during deployment with override values compared to the regular config.js
* For development purposes this file can be completely empty
*/
const configOverride = {};
// ignore this :)
try {
window.configOverride = configOverride;
if (module) {
module.exports = configOverride;
}
} catch {
// ignore
}