ci: 增加 postinstall 避免首次拉包后需要构建产物的问题
This commit is contained in:
@@ -15,9 +15,10 @@
|
||||
"types": "types/index.d.ts",
|
||||
"style": "lib/index.css",
|
||||
"scripts": {
|
||||
"generate": "node ./scripts/generate.ts",
|
||||
"build": "vite build --emptyOutDir && npm run build:types",
|
||||
"build:types": "rimraf types && tsc -d",
|
||||
"generate": "node ./scripts/generate.ts"
|
||||
"postinstall": "npm run build"
|
||||
},
|
||||
"keywords": [
|
||||
"layui-icon",
|
||||
|
||||
Reference in New Issue
Block a user