Can we all agree now to only support string literals in dynamic imports?
import('foo')
import(wtfIsThisEven)
-
-
That's actually okay, template strings could be a good compromise: Compiler: "okay, well, at least I know the directory this is scoped to"
-
Alt: how would that be written without dynamic specifiers? Still possible with an internal map of supported property/value -> imports
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.