UNPKG

@serverless-stack/nextjs-lambda

Version:

Provides handlers that can be used in CloudFront Lambda@Edge to deploy next.js applications to the edge

4 lines (3 loc) 209 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = (fileItem) => { var _a; return !((_a = fileItem.stats) === null || _a === void 0 ? void 0 : _a.isDirectory()); };