From f8c647519bc440b061c03a8856310088f3666165 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Wed, 26 Jul 2023 10:14:18 +0530 Subject: [PATCH] refactor: export EnvEditor from subpath --- index.ts | 1 - package.json | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index 7e23e7c..0477a33 100644 --- a/index.ts +++ b/index.ts @@ -10,6 +10,5 @@ export { Env } from './src/env.js' export { EnvParser } from './src/parser.js' export { EnvLoader } from './src/loader.js' -export { EnvEditor } from './src/editor.js' export * as errors from './src/exceptions.js' export { EnvProcessor } from './src/processor.js' diff --git a/package.json b/package.json index 8d12b2a..b45710b 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "build/index.js" ], "exports": { - ".": "./build/index.js" + ".": "./build/index.js", + "./editor": "./build/src/editor.js" }, "engines": { "node": ">=18.16.0"