Files
react-editor-shopify/next.config.js
2026-05-02 09:18:15 -04:00

25 lines
762 B
JavaScript

/** @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" },
],
},
};