Passing environment file
How can i pass an environment file to "refine" npm commands?
API_URL and API_KEY are environment variables that will be available in your application and can be accessed via process.env..env file to manage your environment variables, you might need to use a package like dotenv. Once installed, you can configure dotenv at the top of your server file to load the environment variables:dotenv is not directly related to Refine and you might need to follow the specific setup instructions for your environment or framework. For example, if you're using Create React App, you can follow their documentation on adding custom environment variables (https://create-react-app.dev/docs/adding-custom-environment-variables/).API_URLAPI_KEYprocess.env.envdotenvdotenvdotenvAPI_URL=<<https://myapi.com>> API_KEY=123456 npm run refine devimport * as dotenv from 'dotenv'
dotenv.config()