feat(config): make nitro config optional

This commit is contained in:
Ayo Ayco 2025-03-26 20:28:49 +01:00
parent 32e20f4724
commit 32d26bc77c
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@mcflyjs/config",
"version": "0.2.8",
"version": "0.2.9",
"description": "Nitro configuration for McFly apps",
"type": "module",
"main": "./dist/index.js",

View file

@ -2,7 +2,7 @@ import type { NitroConfig } from 'nitropack'
export type McFlyConfig = {
components: 'js' | 'lit'
nitro: NitroConfig
nitro?: NitroConfig
}
/**