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",