From b7d05dfce82444679d2d924b6e374b30e954c816 Mon Sep 17 00:00:00 2001 From: CharleeWa <18888351756@163.com> Date: Wed, 27 Dec 2023 10:39:03 +0800 Subject: [PATCH] chore: Set up the node build environment --- netlify.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 1b21680..d6cbe9e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,7 +1,10 @@ [build] base = "/" publish = "dist" -command = "npm run build" +command = "pnpm run build" + +[build.environment] +NODE_VERSION = "18" [[redirects]] from = "/*"