Can't find variable: __SHOELACE_VERSION__ #1965
Unanswered
avinashyalgonde1
asked this question in
Help
Replies: 1 comment 2 replies
-
That's not a runtime variable — it's set by esbuild to get replaced at build time: Lines 130 to 132 in d0b71ad |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I followed Shoelace library and did changes to use variable SHOELACE_VERSION. When I launch my apps storybook and checking components, I am getting variable not found. Added comment
@ts-expect-error This is auto-injected at build time.
above the line where it's been used. Let me know what am I missingBeta Was this translation helpful? Give feedback.
All reactions