Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[build.environment]
NODE_VERSION = "16"
NPM_FLAGS = "--version" # prevent Netlify npm install

[build]
publish = ".vitepress/dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npm run build"
command = "pnpm run build"
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"dev": "vitepress",
"build": "vitepress build",
"serve": "vitepress serve"
"serve": "vitepress serve",
"preinstall": "npx only-allow pnpm"
},
"keywords": [],
"author": "",
Expand Down
Loading