Skip to content

Commit be4c9cd

Browse files
committed
feat: added netlify config
1 parent a26da7c commit be4c9cd

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build]
2+
command = "pnpm run build"
3+
publish = ".next"
4+
5+
[[plugins]]
6+
package = "@netlify/plugin-nextjs"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0",
44
"private": true,
55
"scripts": {
6-
"build": "next build",
6+
"build": "NODE_OPTIONS=\"--max-old-space-size=8192\" next build",
77
"dev": "next dev --turbo",
88
"start": "next start",
99
"postinstall": "fumadocs-mdx",
@@ -15,6 +15,7 @@
1515
"check:fix": "biome check --write src/"
1616
},
1717
"dependencies": {
18+
"@netlify/plugin-nextjs": "^5.13.0",
1819
"@radix-ui/react-separator": "^1.1.7",
1920
"class-variance-authority": "^0.7.1",
2021
"clsx": "^2.1.1",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)