try with simpler env key in craco

This commit is contained in:
martin-mfg
2025-10-08 16:18:52 +02:00
parent 44d5b29ee5
commit f09b19af94
+1 -1
View File
@@ -24,7 +24,7 @@ module.exports = {
// Turn { KEY: "value" } into { "process.env.KEY": JSON.stringify("value") }
const env = {
PAT_1: 'myDummyPAT',
myDummyKey: 'myDummyPAT',
};
const envKeys = Object.keys(env).reduce((prev, next) => {
prev[`process.env.${next}`] = JSON.stringify(env[next]);