From 3f7faa5dc2af8021a7ea4d865723709d042e7271 Mon Sep 17 00:00:00 2001 From: VALERIY SINEVICH <33551334+or2e@users.noreply.github.com> Date: Tue, 26 Sep 2023 19:38:46 +0300 Subject: [PATCH] docs: fix configuration file name of the custom preset (#1760) --- docs/content/2.deploy/3.custom-presets.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/2.deploy/3.custom-presets.md b/docs/content/2.deploy/3.custom-presets.md index 8cb82df07e..daef6f1c2d 100644 --- a/docs/content/2.deploy/3.custom-presets.md +++ b/docs/content/2.deploy/3.custom-presets.md @@ -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"