15 lines
276 B
TypeScript
15 lines
276 B
TypeScript
|
export default definePreset({
|
||
|
name: 'day',
|
||
|
options: {
|
||
|
perl: true,
|
||
|
},
|
||
|
handler: async(context) => {
|
||
|
if( context.options.perl ) {
|
||
|
await extractTemplates({
|
||
|
from: 'perl', whenConflict: 'skip'
|
||
|
})
|
||
|
}
|
||
|
// ...
|
||
|
},
|
||
|
})
|