We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 794629c commit 0a14a8dCopy full SHA for 0a14a8d
netlify.toml
@@ -1,7 +1,6 @@
1
[build.environment]
2
NODE_VERSION = "16"
3
- NPM_FLAGS = "--version" # prevent Netlify npm install
4
5
[build]
6
publish = ".vitepress/dist"
7
- command = "npx pnpm i --store=node_modules/.pnpm-store && npm run build"
+ command = "pnpm run build"
package.json
@@ -6,7 +6,8 @@
"scripts": {
"dev": "vitepress",
8
"build": "vitepress build",
9
- "serve": "vitepress serve"
+ "serve": "vitepress serve",
10
+ "preinstall": "npx only-allow pnpm"
11
},
12
"keywords": [],
13
"author": "",
0 commit comments