split-require
split-require copied to clipboard
dynamic dynamic imports
this works:
import('./a')
but what do we do with
var a = './a' + Math.random()
import(a)
it would be neat to have a module that could statically evaluate complex expressions and return a range of possible values. prepack kinda does this and a lot more, i think, with its AbstractValue concept, so that might be a decent place to look
@goto-bus-stop, any updates on this? Would be awesome 😄