Mirza
Mirza
KPCKevin Powell - Community
Created by Mirza on 11/1/2023 in #back-end
Invalid environment variables
15 replies
KPCKevin Powell - Community
Created by Mirza on 11/1/2023 in #back-end
Invalid environment variables
yeah
15 replies
KPCKevin Powell - Community
Created by Mirza on 11/1/2023 in #back-end
Invalid environment variables
still same error
15 replies
KPCKevin Powell - Community
Created by Mirza on 11/1/2023 in #back-end
Invalid environment variables
const sourceEnv = dotenv.parse(fs.readFileSync('.env', 'utf-8'));
const sourceEnv = dotenv.parse(fs.readFileSync('.env', 'utf-8'));
15 replies
KPCKevin Powell - Community
Created by Mirza on 11/1/2023 in #back-end
Invalid environment variables
I don't have any spaces in encryption key
15 replies
KPCKevin Powell - Community
Created by Mirza on 11/1/2023 in #back-end
Invalid environment variables
What?
15 replies
KPCKevin Powell - Community
Created by Mirza on 11/1/2023 in #back-end
Invalid environment variables
No description
15 replies
KPCKevin Powell - Community
Created by Mirza on 11/1/2023 in #back-end
Invalid environment variables
did but still same error
15 replies
KPCKevin Powell - Community
Created by Mirza on 11/1/2023 in #back-end
Invalid environment variables
const fs = require('fs');
const dotenv = require('dotenv');

// Load the values from the source .env file
const sourceEnv = dotenv.parse(fs.readFileSync('.env'));

// Add the encryption key to the source .env
sourceEnv.ENCRYPTION_KEY = "'6G5C97Hlai0WqeDeDljhTPBZVEDyls/9'";

// Convert the sourceEnv object back to a string
const updatedEnv = Object.entries(sourceEnv).map(([key, value]) => `${key}=${value}`).join('\n');

// Write the updated .env file
fs.writeFileSync('apps/web/.env', updatedEnv);
const fs = require('fs');
const dotenv = require('dotenv');

// Load the values from the source .env file
const sourceEnv = dotenv.parse(fs.readFileSync('.env'));

// Add the encryption key to the source .env
sourceEnv.ENCRYPTION_KEY = "'6G5C97Hlai0WqeDeDljhTPBZVEDyls/9'";

// Convert the sourceEnv object back to a string
const updatedEnv = Object.entries(sourceEnv).map(([key, value]) => `${key}=${value}`).join('\n');

// Write the updated .env file
fs.writeFileSync('apps/web/.env', updatedEnv);
15 replies
KPCKevin Powell - Community
Created by ἔρως on 9/18/2023 in #front-end
lazy-loaded `<image>` in `<symbol>` always loads
hehe
194 replies
KPCKevin Powell - Community
Created by ἔρως on 9/18/2023 in #front-end
lazy-loaded `<image>` in `<symbol>` always loads
<image>?<img>
194 replies
KPCKevin Powell - Community
Created by ἔρως on 9/18/2023 in #front-end
lazy-loaded `<image>` in `<symbol>` always loads
Tag*
194 replies
KPCKevin Powell - Community
Created by ἔρως on 9/18/2023 in #front-end
lazy-loaded `<image>` in `<symbol>` always loads
And image yag
194 replies
KPCKevin Powell - Community
Created by ἔρως on 9/18/2023 in #front-end
lazy-loaded `<image>` in `<symbol>` always loads
Suck You told only you want that in svg tags
194 replies
KPCKevin Powell - Community
Created by Mirza on 9/18/2023 in #os-and-tools
Webpack config
Thanks bro
20 replies
KPCKevin Powell - Community
Created by Mirza on 9/18/2023 in #os-and-tools
Webpack config
@joao6246
20 replies
KPCKevin Powell - Community
Created by Mirza on 9/18/2023 in #os-and-tools
Webpack config
but i want to check difference with webpack and lazy loading
20 replies
KPCKevin Powell - Community
Created by Mirza on 9/18/2023 in #os-and-tools
Webpack config
actually i did that already and that was working fine
20 replies
KPCKevin Powell - Community
Created by Mirza on 9/18/2023 in #os-and-tools
Webpack config
@anyone
20 replies
KPCKevin Powell - Community
Created by Mirza on 9/18/2023 in #os-and-tools
Webpack config
is there any alt ways to minimize my react website into small chunks?
20 replies