Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build based on vuejs/docs #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions netlify.toml
@@ -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
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