[dyad] Fixed Next.js configuration file format - wrote 1 file(s), renamed 1 file(s)
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
import type { NextConfig } from "next";
|
/** @type {import('next').NextConfig} */
|
||||||
|
const nextConfig = {
|
||||||
const nextConfig: NextConfig = {
|
|
||||||
webpack: (config) => {
|
webpack: (config) => {
|
||||||
if (process.env.NODE_ENV === "development") {
|
if (process.env.NODE_ENV === "development") {
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
Reference in New Issue
Block a user