Skip to content

Commit

Permalink
docs: fix configuration file name of the custom preset (#1760)
Browse files Browse the repository at this point in the history
  • Loading branch information
or2e authored Sep 26, 2023
1 parent 949ef91 commit 3f7faa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/2.deploy/3.custom-presets.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Custom presets are local files that have a preset entry that defines builder con
Check [unjs/nitro-preset-starter](https://github.com/unjs/nitro-preset-starter) for a ready-to-use template.
::

First, we have to define our preset entry point in a local directory `preset/index.ts`
First, we have to define our preset entry point in a local directory `preset/nitro.config.ts`

```ts [./preset/index.ts]
```ts [./preset/nitro.config.ts]
import type { NitroPreset } from "nitropack";
import { fileURLToPath } from "node:url"

Expand Down

0 comments on commit 3f7faa5

Please sign in to comment.