We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 859bb18 commit 1aeeeafCopy full SHA for 1aeeeaf
django_esm/utils.py
@@ -100,12 +100,8 @@ def parse_package_json(path: Path = None):
100
for module_name, module in exports.items():
101
module = next(find_default_key(module))
102
103
- yield str(Path(name) / module_name), staticfiles_storage.url(
104
- str(
105
- (path / module)
106
- .resolve()
107
- .relative_to(settings.BASE_DIR / "node_modules")
108
- )
+ yield from get_static_from_abs_path(
+ str(Path(name) / module_name), path / module
109
)
110
111
for dep_name, dep_version in dependencies.items():
0 commit comments