add public as well
This commit is contained in:
parent
9454b90826
commit
ce4026ac4f
@ -26,7 +26,7 @@ def merge_imports(
|
|||||||
# If the lib is an absolute path, we need to prefix it with a $
|
# If the lib is an absolute path, we need to prefix it with a $
|
||||||
lib = (
|
lib = (
|
||||||
"$" + lib
|
"$" + lib
|
||||||
if lib.startswith(("/utils/", "/components/", "/styles/"))
|
if lib.startswith(("/utils/", "/components/", "/styles/", "/public/"))
|
||||||
else lib
|
else lib
|
||||||
)
|
)
|
||||||
if isinstance(fields, (list, tuple, set)):
|
if isinstance(fields, (list, tuple, set)):
|
||||||
|
Loading…
Reference in New Issue
Block a user