is there a way to prevent "unref" inside templates for specific constants/imports? #7564
Unanswered
zauan
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
in the current project, I need to preserve some external function name as it is when used inside a template.
This is a pseudo-code:
After compilation ( vite ), the template converts the "__" function as follows:
unref(__)('Translated text', 'domain-name')
Is there a way to prevent this and keep the function name intact?
Thank you,
Stefan
Beta Was this translation helpful? Give feedback.
All reactions