Skip to content

Instantly share code, notes, and snippets.

@DoctorDerek
Created November 8, 2020 19:22
Show Gist options
  • Save DoctorDerek/bde7ad3abba24d2013e41fbf8c6d7543 to your computer and use it in GitHub Desktop.
Save DoctorDerek/bde7ad3abba24d2013e41fbf8c6d7543 to your computer and use it in GitHub Desktop.
Modified Gatsby config file part 2
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment