mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-05-03 06:00:09 +00:00
20 lines
629 B
JavaScript
20 lines
629 B
JavaScript
import { setupDevPlatform } from "@cloudflare/next-on-pages/next-dev";
|
|
|
|
// Here we use the @cloudflare/next-on-pages next-dev module to allow us to use bindings during local development
|
|
// (when running the application with `next dev`), for more information see:
|
|
// https://github.com/cloudflare/next-on-pages/blob/5712c57ea7/internal-packages/next-dev/README.md
|
|
if (process.env.NODE_ENV === "development") {
|
|
await setupDevPlatform();
|
|
}
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
eslint: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|