Add support for globalThis inside of templates to reference the global scope
#3994
zachleat
started this conversation in
Enhancement Queue
Replies: 3 comments
-
|
https://node.green/ has globalThis support in Node at 12+ but for the record this would just be faking it for template-land vars |
Beta Was this translation helpful? Give feedback.
0 replies
This comment has been hidden.
This comment has been hidden.
-
|
Could even use approaches in #567 like @edwardhorsford’s: #567 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Could solve the problem of trying to reference top level globals with dashes in the name
#567 #1535
Moderate overlap with #874
Marginal overlap with #1060
Unconfirmed overlap with #1541
Beta Was this translation helpful? Give feedback.
All reactions