From 98ab3018808c738bbb188a3d34fd90d5204f5fc6 Mon Sep 17 00:00:00 2001 From: Cosmin Popovici Date: Wed, 17 Jul 2024 14:17:58 +0300 Subject: [PATCH] fix: build.content type definition --- types/build.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/build.d.ts b/types/build.d.ts index f55ef5d1..b136bb19 100644 --- a/types/build.d.ts +++ b/types/build.d.ts @@ -8,7 +8,7 @@ export default interface BuildConfig { components?: ComponentsConfig; /** - * Directory where Maizzle should look for Templates to compile. + * Paths where Maizzle should look for Templates to compile. * * @default ['src/templates/**\/*.html'] * @@ -16,12 +16,12 @@ export default interface BuildConfig { * ``` * export default { * build: { - * files: ['src/templates/**\/*.html'] + * content: ['src/templates/**\/*.html'] * } * } * ``` */ - files?: string | string[]; + content?: string | string[]; /** * Define the output path for compiled Templates, and what file extension they should use.