编译添加复制到demo

This commit is contained in:
gongxh
2025-09-09 09:45:51 +08:00
parent 6ae0b4200a
commit 3071611cd0

View File

@@ -19,7 +19,8 @@
},
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && rollup -c rollup.config.mjs"
"copy": "cp -r dist/* ./../kunpo-esc/demo/node_modules/kunpocc-behaviortree/dist/",
"build": "npm run clean && rollup -c rollup.config.mjs && npm run copy"
},
"files": [
"dist/kunpocc-behaviortree.cjs",