update build sh to add terser dependency
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user