diff --git a/pyproject.toml b/pyproject.toml index 7b73bb7aa..05eca5be7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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.