Update pyproject.toml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Weilong Liao
2026-06-21 14:08:28 +08:00
committed by GitHub
parent ea159cbe79
commit 796a18dd46

View File

@@ -121,10 +121,7 @@ exclude = ["dashboard", "node_modules", "dist", "data", "tests"]
allow-direct-references = true
# Include bundled dashboard dist even though it is not tracked by VCS.
[tool.hatch.build.targets.sdist]
artifacts = ["astrbot/dashboard/dist/**"]
[tool.hatch.build.targets.wheel]
[tool.hatch.build]
artifacts = ["astrbot/dashboard/dist/**"]
# Custom build hook: builds the Vue dashboard and copies dist into the package.