Build frontend as part of Python build

This commit is contained in:
Leo Vasanko
2025-07-13 14:23:07 -06:00
parent 15aebfca2e
commit 99b5187a33
2 changed files with 40 additions and 0 deletions

View File

@@ -38,3 +38,7 @@ known-first-party = ["passkeyauth"]
[project.scripts]
serve = "passkeyauth.main:main"
[tool.hatch.build]
artifacts = ["passkeyauth/frontend-static"]
targets.sdist.hooks.custom.path = "scripts/build-frontend.py"