fix: add --webpack flag for Next.js 16 Turbopack compatibility
- serwist/next requires webpack, Next.js 16 defaults to Turbopack - dev/build scripts now use --webpack flag - Disable serwist in dev mode to avoid warnings
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"dev": "next dev --webpack",
|
||||
"build": "next build --webpack",
|
||||
"start": "next start",
|
||||
"lint": "eslint"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user