var blob = new Blob(["REACT_APP_DNS=example.com"], {type: "text/plain;charset=utf-8"});
saveAs(blob, ".env");
This code creates a file "env.txt", and if you add a space before the dot like this " .env" it created this file "_.env"
I checked stackoverflow about it there is nothing, refering to this case, but an unanswered question.
Is there anyway to download a ".env" file using FileSaver.js ?
This code creates a file "env.txt", and if you add a space before the dot like this " .env" it created this file "_.env" I checked stackoverflow about it there is nothing, refering to this case, but an unanswered question. Is there anyway to download a ".env" file using FileSaver.js ?