Refactored assets serving

This commit is contained in:
2026-02-08 16:31:38 +01:00
parent 85f5d872c8
commit 3ec994d6df
38 changed files with 7205 additions and 3899 deletions

View File

@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "myfasthtml"
version = "0.3.0"
version = "0.4.0"
description = "Set of tools to quickly create HTML pages using FastHTML."
readme = "README.md"
authors = [
@@ -74,10 +74,12 @@ dev = [
# -------------------------------------------------------------------
[tool.setuptools]
package-dir = { "" = "src" }
packages = ["myfasthtml"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
myfasthtml = [
"assets/*.css",
"assets/*.js"
"assets/**/*.css",
"assets/**/*.js"
]