/** @type {import('next').NextConfig} */ module.exports = { reactStrictMode: true, typescript: { // Copied editor components carry a few legacy `any` paths that don't // affect runtime. Ignoring lets the demo build/run without a port. ignoreBuildErrors: true, }, transpilePackages: [ "@reacteditor/core", "@reacteditor/plugin-ai", "@reacteditor/plugin-tailwind-cdn", "@reacteditor/field-shopify", "@reacteditor/field-google-fonts", ], images: { remotePatterns: [ { protocol: "https", hostname: "images.unsplash.com" }, { protocol: "https", hostname: "cdn.shopify.com" }, { protocol: "https", hostname: "logo.clearbit.com" }, { protocol: "https", hostname: "picsum.photos" }, ], }, };