Try to force using yarn

This commit is contained in:
Jordan Eldredge 2022-09-20 21:31:18 -07:00
parent cb37ec45dc
commit 11928e8004
2 changed files with 5 additions and 2 deletions

View file

@ -1 +0,0 @@
SKIP_PREFLIGHT_CHECK=true

View file

@ -6,13 +6,17 @@ ID = "be420a16-4ef3-43b1-ac62-35869bdf8679"
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]
environment = { NODE_VERSION = "17.3.0" }
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build.
publish = "build/"
# Default build command.
command = "npm run build"
[build.environment]
NODE_VERSION = "17.3.0"
SKIP_PREFLIGHT_CHECK = "true"
NETLIFY_USE_YARN = "true"
[[redirects]]
from = "/sitemap*"