Skip to content

Commit 83587ce

Browse files
authored
docs: fix Netlify Build (#948)
* Set node version to latest LTS * Add basic Netlify configuration
1 parent afc3c22 commit 83587ce

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
23.3.0
1+
v22.20.0

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build]
2+
# https://docs.netlify.com/build/configure-builds/manage-dependencies/#node-js-and-javascript
3+
# Node version set in .nvmrc
4+
# JS dependencies must be listed in package.json
5+
command = "npm run build"
6+
publish = "dist/"

0 commit comments

Comments
 (0)