Skip to content

Commit

Permalink
docs: fix highlight line (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Feb 29, 2024
1 parent 3d89453 commit 35f5bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/app/docs/nextjs/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const env = createEnv({

We recommend you importing your newly created file in your `next.config.js`. This will make sure your environment variables are validated at build time which will save you a lot of time and headaches down the road. You can use [unjs/jiti](https://github.com/unjs/jiti) to import TypeScript files in your `next.config.js`:

```js title="next.config.js" {5}
```js title="next.config.js" {6}
import { fileURLToPath } from "node:url";
import createJiti from "jiti";
const jiti = createJiti(fileURLToPath(import.meta.url));
Expand Down

0 comments on commit 35f5bdb

Please sign in to comment.