Skip to content

Commit

Permalink
fix: export getEnvConfig in index file (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashass committed Apr 22, 2022
1 parent 5b07ca2 commit b93ca4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
To access the environment variables use the built-in getter:

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

const backendURL = getEnvConfig('BACKEND_URL');
```
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { envConfig, EnvConfigOptions } from './envConfig';
export { getEnvConfig } from './getEnvConfig';

0 comments on commit b93ca4e

Please sign in to comment.