Skip to content

Commit

Permalink
Merge pull request #8 from Pinta365/main
Browse files Browse the repository at this point in the history
"load" export
  • Loading branch information
Pinta365 authored Mar 16, 2024
2 parents d73889c + 9eaf1ca commit 4304a64
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 4304a64

Please sign in to comment.