Skip to content

Commit ec0408b

Browse files
committed
Revert netlify plugin usage until issue is fixed
Issue: opennextjs/opennextjs-netlify#67
1 parent 8622907 commit ec0408b

File tree

4 files changed

+62
-1500
lines changed

4 files changed

+62
-1500
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ yarn-error.log*
3232

3333
# netlify
3434
.netlify
35+
/out_publish/
36+
/out_functions/

netlify.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[build]
2-
command = "yarn build"
3-
[[plugins]]
4-
package = "@netlify/plugin-nextjs"
2+
command = "yarn build-netlify"
3+
functions = "out_functions"
4+
publish = "out_publish"

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"scripts": {
66
"dev": "next dev",
77
"build": "next build",
8+
"build-netlify": "next build",
9+
"postbuild-netlify": "next-on-netlify",
810
"preexport": "next build",
911
"export": "next export",
1012
"serve": "serve out",
@@ -28,12 +30,12 @@
2830
"tinacms": "^0.33.0"
2931
},
3032
"devDependencies": {
31-
"@netlify/plugin-nextjs": "^1.0.2",
3233
"@tailwindcss/forms": "^0.2.1",
3334
"@tailwindcss/typography": "^0.3.1",
3435
"@types/node": "^14.0.5",
3536
"@types/react": "^17.0.0",
3637
"autoprefixer": "^10.1.0",
38+
"next-on-netlify": "^2.6.3",
3739
"postcss": "^8.2.0",
3840
"serve": "^11.3.2",
3941
"tailwindcss": "^2.0.1",

0 commit comments

Comments
 (0)