Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic dynamic imports #3

Open
goto-bus-stop opened this issue Oct 4, 2017 · 2 comments
Open

dynamic dynamic imports #3

goto-bus-stop opened this issue Oct 4, 2017 · 2 comments

Comments

@goto-bus-stop
Copy link
Owner

this works:

import('./a')

but what do we do with

var a = './a' + Math.random()
import(a)
@goto-bus-stop
Copy link
Owner Author

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

@kodedninja
Copy link

@goto-bus-stop, any updates on this? Would be awesome 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants