Vercel/next.config.js
Sam Becker df11a86181 Init
2023-09-05 09:00:57 -05:00

23 lines
480 B
JavaScript

/** @type {import('next').NextConfig} */
const STORE_ID = process.env.BLOB_READ_WRITE_TOKEN?.match(
/^vercel_blob_rw_([a-z0-9]+)_[a-z0-9]+$/i,
)?.[1].toLowerCase();
const nextConfig = {
images: {
imageSizes: [400, 1050, 1200],
remotePatterns: [{
protocol: 'https',
hostname: `${STORE_ID}.public.blob.vercel-storage.com`,
port: '',
pathname: '/**',
}],
},
experimental: {
serverActions: true,
},
};
module.exports = nextConfig;