fix node not loading correct env files

This commit is contained in:
heyethereum
2024-08-03 10:29:35 +08:00
parent 28f6ab3553
commit 1fdfd94baf
30 changed files with 180 additions and 155 deletions

View File

@@ -1,5 +1,9 @@
import 'dotenv/config';
console.log('Current NODE_ENV:', process.env.NODE_ENV);
console.log('Current BASE_URL:', process.env.BASE_URL);
console.log('Current ENVFILE:', process.env.ENVFILE);
export default ({ config }) => {
return {
...config,