From ef3f302a3d68c4543f974734c60dc299dd73b32c Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Mon, 4 Dec 2023 12:20:16 -0500 Subject: [PATCH] add js to the preset --- 2023/preset/day/preset.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/2023/preset/day/preset.ts b/2023/preset/day/preset.ts index 163677f..abdd037 100644 --- a/2023/preset/day/preset.ts +++ b/2023/preset/day/preset.ts @@ -1,13 +1,19 @@ export default definePreset({ name: 'day', options: { - perl: true, + perl: false, + js: false, }, handler: async(context) => { if( context.options.perl ) { await extractTemplates({ from: 'perl', whenConflict: 'skip' }) + } + if( context.options.js ) { + await extractTemplates({ + from: 'js', whenConflict: 'skip' + }) } // ... },