I'm using the Shopify CLI to create an app which allows me to use Shopify Serve.
Whenever you run Shopify Serve it automatically rewrites the .ENV file and removes any custom variables added. I'm trying to add a variable for MongoDB.
Can someone suggest a solution to either allow me to use the .ENV file to store the MongoDB details or an alternative solution?
Thanks!