From a04dd66ce5270dce3e4eda5e4b14898da7a0cebd Mon Sep 17 00:00:00 2001 From: sakitam-fdd Date: Sat, 28 Jan 2023 17:23:38 +0800 Subject: [PATCH] fix(no-release): fix build docs script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 68dc0b0e..48407fdb 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "build": "rollup --config rollup.config.ts --configPlugin esbuild --environment NODE_ENV:production", "build:minify": "rollup --config rollup.config.ts --configPlugin esbuild --environment MINIFY,NODE_ENV:production", "build:analyze": "cross-env BUILD_ANALYZER=true pnpm run build", - "build:docs": "cd documents && pnpm run api && pnpm run build", + "build:docs": "pnpm run build && cd documents && pnpm run api && pnpm run build", "lint": "eslint src --ext js,jsx,ts,tsx", "prepublishOnly": "npm run build && npm run build:minify", "test": "npm run build && npm run test-only",