Next.js Discord

Discord Forum

Deploying with Vercel in ReactJS/NextJS development mode.

Unanswered
Sloth bear posted this in #help-forum
Open in Discord
Sloth bearOP
Hi! I currently try to deploy my projet in preview mode with development mode but it doesn't work.

I have env file with NODE_ENV=development and
/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: false,
  webpack: (config) => {
    config.resolve.alias.canvas = false;
    return config;
  },
  devIndicators: {
    buildActivity: true,
  },
};

export default nextConfig;


But it seems to not work...

Someone have an idea?

0 Replies