function test(file) {
		if (!file.path) return false;
		const match = (pattern) =>
			minimatch(file.path, pattern, { matchBase: true });
		return excludeFiles.some(match) || !includeFiles.some(match);
	}
Tests whether a file should be skipped based on exclusion and inclusion patterns.

@param {object} file - The file to be tested.
@param {string} file.path - The relative URL of the file.
@returns {boolean} - Returns true if the file should be skipped, false otherwise.