Skip to content

Commit

Permalink
update netlify build script for pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 14, 2021
1 parent 67e67f5 commit d27482e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions netlify.toml
@@ -0,0 +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"

0 comments on commit d27482e

Please sign in to comment.