From b6af879fa46dc39db23d07fd0632f3ba2abe6d49 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Mon, 27 Sep 2021 01:42:05 -0500 Subject: [PATCH] chore(docs): scripts command add corss-env (#3668) --- docs/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/package.json b/docs/package.json index 6d5555ae4e..1a15fb292e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -3,8 +3,8 @@ "version": "0.0.1", "scripts": { "dev": "vitepress dev .", - "build": "NODE_ENV=production && vitepress build .", - "serve": "NODE_ENV=production && vitepress serve ." + "build": "cross-env NODE_ENV=production && vitepress build .", + "serve": "cross-env NODE_ENV=production && vitepress serve ." }, "dependencies": { "@vueuse/core": "^6.4.0",