naive-ui/scripts/pre-build-site/pre-build-site.sh

6 lines
127 B
Bash
Raw Normal View History

2020-12-07 16:26:33 +08:00
npm pack
UI_PACKAGE_NAME=$(ls | grep naive-ui)
tar -xzvf $UI_PACKAGE_NAME
mv package node_modules/naive-ui
rm $UI_PACKAGE_NAME