this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿง‘โ€๐Ÿ’ป Fix building site on Windows

+10 -1
+10 -1
src/content.config.ts
··· 42 42 source: z.string(), 43 43 metadata: z 44 44 .object({ 45 - aliases: z.array(z.string()).optional().nullable().default([]), 45 + aliases: z 46 + .array(z.string()) 47 + .optional() 48 + .nullable() 49 + .default([]) 50 + .transform((aliases) => { 51 + if (process.platform !== "win32") return aliases; 52 + // On Windows, we want to some characters that are not allowed in filenames 53 + return aliases?.filter((a) => !a.match(/[<>:"/\\|?*]/)); 54 + }), 46 55 finished: nullableDate, 47 56 started: nullableDate, 48 57 madeWith: z