fix: monorepo build

This commit is contained in:
Simon
2025-12-16 01:52:15 +08:00
parent 54eb50f7be
commit c2e9e6a571
4 changed files with 7 additions and 5 deletions

View File

@@ -32,7 +32,6 @@
"homepage": "https://alibaba.github.io/page-agent/",
"scripts": {
"build": "vite build",
"build:watch": "vite build --watch",
"prepublishOnly": "node -e \"const fs=require('fs');['LICENSE'].forEach(f=>fs.copyFileSync('../../'+f,f))\"",
"postpublish": "node -e \"['LICENSE'].forEach(f=>{try{require('fs').unlinkSync(f)}catch{}})\""
}