add public as well

This commit is contained in:
Khaleel Al-Adhami 2024-10-24 12:50:36 -07:00
parent 9454b90826
commit ce4026ac4f

View File

@ -26,7 +26,7 @@ def merge_imports(
# If the lib is an absolute path, we need to prefix it with a $
lib = (
"$" + lib
if lib.startswith(("/utils/", "/components/", "/styles/"))
if lib.startswith(("/utils/", "/components/", "/styles/", "/public/"))
else lib
)
if isinstance(fields, (list, tuple, set)):