Skip to content

Commit cb1227a

Browse files
committed
build(website): drop --webpack flag from Next.js build
- Use default bundler in package.json and vercel.json build commands - Update next-env.d.ts routes import path to match new build output
1 parent 43101a2 commit cb1227a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

website/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/dev/types/routes.d.ts";
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
7-
"build": "next build --webpack",
7+
"build": "next build",
88
"start": "next start",
99
"lint": "next lint"
1010
},

website/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://openapi.vercel.sh/vercel.json",
33
"installCommand": "pnpm install --frozen-lockfile",
4-
"buildCommand": "node node_modules/next/dist/bin/next build --webpack",
4+
"buildCommand": "next build",
55
"outputDirectory": ".next"
66
}

0 commit comments

Comments
 (0)