Skip to content

Commit 975e9c6

Browse files
authored
Update build scripts to use Next.js commands
1 parent e606895 commit 975e9c6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"type": "module",
66
"scripts": {
77
"dev": "node ./scripts/prebuild.mjs && yarn next dev --webpack",
8-
"build": "node ./scripts/prebuild.mjs && yarn webpack --mode=production",
8+
"build": "node ./scripts/prebuild.mjs && yarn next build",
99
"start": "next start",
1010
"lint": "next lint",
11-
"build:dev": "node ./scripts/prebuild.mjs && yarn webpack --mode=development",
12-
"build:prod": "node ./scripts/prebuild.mjs && yarn webpack --mode=production",
11+
"build:dev": "node ./scripts/prebuild.mjs && yarn next build",
12+
"build:prod": "node ./scripts/prebuild.mjs && yarn next build",
1313
"watch": "webpack --watch",
1414
"serve": "webpack serve",
1515
"prebuild": "node ./scripts/prebuild.mjs"

0 commit comments

Comments
 (0)