Setting environment variable with KotlinJS and Webpack 5
Hello, newcomer here. I’m learning KotlinJS, and I have a problem setting environment variables.
1. My requirement
Basically, I want to set different variables such as the backend url depending on the environment (PROD, DEV, but also TEST and so on.)
2. The advice I found
I tried following the advice here :
<a...