Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 3cbaf43

Browse files
committed
use webpack 5 and next@canary
1 parent d1f8799 commit 3cbaf43

File tree

2 files changed

+279
-718
lines changed

2 files changed

+279
-718
lines changed

package.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,16 @@
1212
"url": "https://github.com/WebDevStudios/nextjs-wordpress-example/issues"
1313
},
1414
"homepage": "https://github.com/WebDevStudios/nextjs-wordpress-example/#readme",
15-
"scripts": {
16-
"build": "next build",
17-
"clean": "rm -rf .next",
18-
"dev": "yarn clean && yarn lint && next dev",
19-
"develop": "yarn dev",
20-
"export": "next export",
21-
"lint": "./node_modules/.bin/eslint ./ --fix || true",
22-
"start": "next start"
15+
"engines": {
16+
"node": ">=10"
17+
},
18+
"resolutions": {
19+
"webpack": "^5.0.0-beta.28"
2320
},
2421
"dependencies": {
2522
"classnames": "2.2.6",
2623
"date-fns": "2.16.0",
27-
"next": "^9.5.2",
24+
"next": "next@canary",
2825
"react": "^16.13.1",
2926
"react-dom": "^16.13.1"
3027
},
@@ -43,5 +40,14 @@
4340
"prop-types": "^15.7.2",
4441
"stylelint-config-standard": "^20.0.0",
4542
"tailwindcss": "^1.7.5"
43+
},
44+
"scripts": {
45+
"build": "next build",
46+
"clean": "rm -rf .next",
47+
"dev": "yarn clean && yarn lint && next dev",
48+
"develop": "yarn dev",
49+
"export": "next export",
50+
"lint": "./node_modules/.bin/eslint ./ --fix || true",
51+
"start": "next start"
4652
}
4753
}

0 commit comments

Comments
 (0)