Skip to content

Commit b93ca4e

Browse files
authored
fix: export getEnvConfig in index file (#22)
1 parent 5b07ca2 commit b93ca4e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default {
2020
To access the environment variables use the built-in getter:
2121

2222
```ts
23-
import { getEnvConfig } from '@geprog/vite-plugin-env-config/getEnvConfig';
23+
import { getEnvConfig } from '@geprog/vite-plugin-env-config';
2424

2525
const backendURL = getEnvConfig('BACKEND_URL');
2626
```

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export { envConfig, EnvConfigOptions } from './envConfig';
2+
export { getEnvConfig } from './getEnvConfig';

0 commit comments

Comments
 (0)