Skip to content

Commit 0646b00

Browse files
committed
Update next-on-netlify to v1.2.0
next-on-netlify now reads in the next.config.js configuration file and supports setting a custom NextJS distDir.
1 parent 6a360a1 commit 0646b00

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

next.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
module.exports = {
22
// Target must be serverless
3-
target: 'serverless',
4-
// distDir already has .next as default
5-
distDir: '.next',
3+
target: 'serverless'
64
};

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dependencies": {
99
"isomorphic-unfetch": "^3.0.0",
1010
"next": "^9.3.5",
11-
"next-on-netlify": "^1.1.0",
11+
"next-on-netlify": "^1.2.0",
1212
"react": "^16.13.1",
1313
"react-dom": "^16.13.1"
1414
}

0 commit comments

Comments
 (0)