-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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 import path does not work #8744
Comments
@WayneUong does this produce an error? error stack? |
I got this error:
|
This is a deliberate design decision and not a bug: #8327 (comment) tl;dr If you indicate elsewhere in your client code that the module should be made available (using |
@benjamn it's good to know, we should explicitly mention this in the documentation |
@dr-dimitru good idea! |
Thanks @dr-dimitru - I've created meteor/guide#641 so we don't lose track of this. |
This works:
import('/imports/client/main.js');
This doesn't work:
import('/imports/client/' + 'main.js');
The text was updated successfully, but these errors were encountered: