Skip to content

Commit

Permalink
Merge pull request #46 from erikyuzwa/add-dot-env-support
Browse files Browse the repository at this point in the history
feat: add dotenv config support
  • Loading branch information
madrilene authored May 27, 2024
2 parents 1569d29 + 82fd855 commit a1f0bea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
* - `./config/transforms/index.js`
*/

// register dotenv for process.env.* variables to pickup
require('dotenv').config()

// JSDoc comment: Hint VS Code for eleventyConfig autocompletion. © Henry Desroches - https://gist.github.com/xdesro/69583b25d281d055cd12b144381123bf

/**
Expand Down

0 comments on commit a1f0bea

Please sign in to comment.