src/providers/fs.ts
Function provider
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function provider(options: any) {
const etagCache: Record<string, { timestamp: Date; value: string }> = {};
const cwd = options.cwd || process.cwd();
let publicPaths: string[] = options.public || ["."];
if (!Array.isArray(publicPaths)) {