UNPKG

@serverless-stack/nextjs-lambda

Version:

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

12 lines (9 loc) 208 B
'use strict'; const libvips = require('../lib/libvips'); try { if (!(libvips.useGlobalLibvips() || libvips.hasVendoredLibvips())) { process.exitCode = 1; } } catch (err) { process.exitCode = 1; }