From b6e4e073b9e4a1e97212ee3b487072e1a1950f82 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Sat, 20 Jul 2024 09:34:26 -0400 Subject: [PATCH] Allow packages to be unspecified --- src/plugins/combined.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/combined.js b/src/plugins/combined.js index 71104388..d0154322 100644 --- a/src/plugins/combined.js +++ b/src/plugins/combined.js @@ -15,7 +15,7 @@ import { setup } from './setup.js'; export function combinedPlugins(options) { return [ setup(), - apiDocs({ packages: options.packages, dest: options.dest }), + apiDocs({ packages: options.packages ?? [], dest: options.dest }), markdownPages({ src: options.src, groups: options.groups, dest: options.dest }), ]; }