2
0

update build sh to add terser dependency

This commit is contained in:
zhangsz
2025-01-02 10:12:19 +08:00
parent 833d089cb8
commit 3ad7df0e0a

View File

@@ -64,6 +64,9 @@ build-dist(){
cd ${FEUserRootDir}
git checkout src/typings/components.d.ts
git pull
if ! pnpm list terser --depth 0 &> /dev/null; then
pnpm add terser --save-dev
fi
pnpm i
pnpm build
}