Skip to content

Commit

Permalink
Netlify changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Hill committed Jan 6, 2021
1 parent b6823fa commit 4550d32
Show file tree
Hide file tree
Showing 4 changed files with 1,019 additions and 16 deletions.
4 changes: 4 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build]
command = "npm run build"
functions = "out_functions"
publish = "out_publish"
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = withCSS({
// eslint-disable-next-line no-param-reassign
config.node = { fs: 'empty' };
}

return config;
},
target: 'serverless',
});
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
"build": "next build && next export",
"start": "next start",
"postbuild": "next-on-netlify"
},
"dependencies": {
"@zeit/next-css": "^1.0.1",
Expand All @@ -21,6 +22,7 @@
"eslint-plugin-react": "^7.21.5",
"next": "10.0.3",
"next-auth": "^3.1.0",
"next-on-netlify": "^2.7.0",
"prettier": "^2.2.1",
"react": "17.0.1",
"react-dom": "17.0.1",
Expand Down
Loading

1 comment on commit 4550d32

@vercel
Copy link

@vercel vercel bot commented on 4550d32 Jan 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

The value for maxDuration must be between 1 second and 10 seconds, in order to increase this limit upgrade your plan: https://vercel.com/pricing

Please sign in to comment.