Skip to content

Commit

Permalink
fix: updated default manifest location & bug fixes
Browse files Browse the repository at this point in the history
fix: updated default manifest location
  • Loading branch information
cofin authored Dec 10, 2023
2 parents c45b15b + 5689855 commit 07bbbc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion litestar_vite/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ViteConfig:
templates_dir: Path
"""Location of the Jinja2 template file.
"""
manifest_name: str = "manifest.json"
manifest_name: str = ".vite/manifest.json"
"""Name of the manifest file."""
hot_file: str = "hot"
"""Name of the hot file.
Expand Down
2 changes: 2 additions & 0 deletions litestar_vite/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ def server_lifespan(self, app: Litestar) -> Iterator[None]:
if vite_process.is_alive():
vite_process.terminate()
vite_process.join()
else:
yield
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ license = {text = "MIT"}
name = "litestar-vite"
readme = "README.md"
requires-python = ">=3.8"
version = "0.1.5"
version = "0.1.6"

[project.urls]
Changelog = "https://cofin.github.io/litestar-vite/latest/changelog"
Expand Down

0 comments on commit 07bbbc6

Please sign in to comment.