Skip to content

Commit

Permalink
docs(readme): add a reason (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Aug 10, 2024
1 parent 1d69dfb commit 39fc1f9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ yarn add -D @archoleat/next-define-config

See [Next Configuration](https://nextjs.org/docs/app/api-reference/next-config-js).

Instead of this:

```js
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
```

Use this:

```js
// next.config.js or next.config.mjs
import { defineConfig } from '@archoleat/next-define-config';
Expand Down

0 comments on commit 39fc1f9

Please sign in to comment.