Skip to content

Commit

Permalink
"load" export
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinta365 committed Mar 16, 2024
1 parent d73889c commit 9eaf1ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ To automatically load environment variables at the start of the application. Thi
customizable in the main setup function setupEnv() instead if different behavior is desired.

```javascript
import "@cross/env/load.ts";
import "@cross/env/load";
```

## Configuration (optional)
Expand Down
7 changes: 5 additions & 2 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"name": "@cross/env",
"version": "0.2.6",
"exports": "./mod.ts",
"version": "0.2.7",
"exports": {
".": "./mod.ts",
"./load": "./load.ts"
},

"tasks": {
"test": "cd tests && deno test --allow-env --allow-read",
Expand Down

0 comments on commit 9eaf1ca

Please sign in to comment.