Skip to content

Commit 58e375f

Browse files
davidw-cartacofin
authored andcommitted
bug: fix loader asset plugin initialize_loader ImproperlyConfiguredException 500 Error
1 parent 22e07ba commit 58e375f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/py/litestar_vite/loader.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ def initialize_loader(cls, config: "ViteConfig") -> "ViteAssetLoader":
104104
Returns:
105105
The manifest loader.
106106
"""
107-
return cls(config=config)
107+
_cls = cls(config=config)
108+
_cls.parse_manifest()
109+
return _cls
108110

109111
@cached_property
110112
def version_id(self) -> str:

0 commit comments

Comments
 (0)