Skip to content

Commit

Permalink
Add support for .env
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPeck committed Dec 18, 2023
1 parent 452f63f commit d9f6c5f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is an example of what your env file should look like.
# You can copy this file and rename it to .env and fill in the values.

PROJECT_HOSTNAME=example.com
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ node_modules
/package
.env
.env.*
*.local
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
14 changes: 13 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
},
"type": "module",
"dependencies": {
"@floating-ui/dom": "1.5.3"
"@floating-ui/dom": "1.5.3",
"dotenv": "^16.3.1"
}
}

0 comments on commit d9f6c5f

Please sign in to comment.