Browse Source

Usar pnpm en Netlify

prod
Nulo 5 months ago
parent
commit
5925d85e4e
  1. 2
      netlify.toml
  2. 1
      package.json

2
netlify.toml

@ -0,0 +1,2 @@
[build.environment]
NPM_FLAGS="--prefix=/dev/null"

1
package.json

@ -3,6 +3,7 @@
"version": "0.0.0",
"scripts": {
"dev": "vite",
"prebuild": "test \"$CI\" = true && npx pnpm install -r --store=node_modules/.pnpm-store || echo skipping pnpm install",
"build": "vite build --base=./",
"serve": "vite preview",
"format": "prettier --write .",

Loading…
Cancel
Save