-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Compiler error on dynamic import #486
Comments
Dynamic Some initial support was added recently but I'm not yet sure how final support will look. I don't think this is a good idea to begin with so we'll see how it turns out. |
Sorry, just to check that I'm interpreting these issues correctly - it's now supported by Google Closure but not planned to be supported in shadow-cljs (?) |
Depends. I have not tested enough yet. Currently blocked by ClojureScript being incompatible with the latest Closure Compiler. |
Hi, seems dynamic imports are supported by the Closure Compiler https://github.com/google/closure-compiler/wiki/JS-Modules#dynamic-import-expressions . But not working for me actually. Whats the status? can I help? |
Please open a new ticket with a reproducible repo for something that may not work. This is not exactly a "small topic". So, without knowing what are trying to do I can't comment on the status. |
Issue created #1084 thanks for your response. |
JS supports using
import
as a function. When shadow-cljs encounters one of these, the Closure compiler fails.Example
:require
ing a JS file with the following code:will fail when compiling with this error:
Repro: https://github.com/jakzo/shadow-dynamic-import-issue
The text was updated successfully, but these errors were encountered: