From 9eaf1caa586ff9462d40177b38b4c3eb3402571a Mon Sep 17 00:00:00 2001 From: Pinta365 Date: Sat, 16 Mar 2024 21:59:07 +0100 Subject: [PATCH] "load" export --- README.md | 2 +- deno.jsonc | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a869836..3828292 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/deno.jsonc b/deno.jsonc index fe37c4a..e256f19 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -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",