-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 crash for dynamic imports importing goog.module #3841
Comments
Dynamic import can not import a goog.module. It must be a ES6 module. Can you provide the stack trace that you see with the crash? |
|
theseanl
changed the title
Compiler crash for dynamic imports inside goog.module
Compiler crash for dynamic imports importing goog.module
Jul 13, 2021
@ChadKillingsworth to comment. |
Well the compiler definitely shouldn't crash - I can look at that. I'm going to have to do some research though about how ES Module imports work with goog.module. Specifically, what would |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
a.js
b.js
compiler flags
Then the compiler crashes with a message to report it.
On a related note, I have a question: Is dynamic import supposed to work in goog.module? Or is it supposed to use some other Closure Library function to achieve on-demand loading of other goog.modules?
The text was updated successfully, but these errors were encountered: