Skip to content

Commit 650685f

Browse files
committed
Update
1 parent 1a2e92f commit 650685f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/using-whack/dotenv.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The Whack project may include an [`.env` file](https://www.dotenv.org) that defines variables that may be
1+
The Whack project may include an [`.env` file](https://github.com/dotenv-rs/dotenv?tab=readme-ov-file#examples) that defines variables that may be
22
referenced in `import.meta.env.NAME` expressions.
33

44
> Note that an `.env` file applies to a Whack package's directory, and not a sole Whack workspace's directory per se.
@@ -15,4 +15,9 @@ ActionScript may read that `SECRET` variable using `import.meta.env.SECRET`:
1515
import.meta.env.SECRET
1616
```
1717

18-
> Note that `import.meta.env.NAME` returns `null` if `NAME` does not exist.
18+
> Note that `import.meta.env.NAME` returns `null` if `NAME` does not exist.
19+
20+
## Syntax
21+
22+
Refer to [this repository](https://github.com/dotenv-rs/dotenv?tab=readme-ov-file#examples) for supported syntax in
23+
`.env` files.

0 commit comments

Comments
 (0)