From 1229c5a4c76411617dc8eb8575f26bc35afb92b2 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 7 Oct 2020 20:14:57 +0300 Subject: feat: load .env in runtime --- env.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 env.ts (limited to 'env.ts') diff --git a/env.ts b/env.ts new file mode 100644 index 0000000..60874cc --- /dev/null +++ b/env.ts @@ -0,0 +1,4 @@ +import { config } from 'dotenv'; + +const { parsed } = config(); +export default parsed; -- cgit v1.2.3