diff --git a/pyproject.toml b/pyproject.toml index 851be3da1..7b73bb7aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,6 +121,9 @@ 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] artifacts = ["astrbot/dashboard/dist/**"]