Detect usage of dynamic imports and put warning in console #47808
Closed
retrodaredevil
announced in
Platform
Replies: 1 comment
-
Hello, as you may have heard, we are transitioning away from using discussions to discuss feature requests. Due to the age and number of responses to this discussion, we are deciding to close it. If this is something you would like to see in Grafana, feel free to open an issue so the discussion can continue. Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am creating a plugin that has dependencies that use dynamic imports. I had no idea these dependencies had dynamic imports and I spent 2 hours trying to figure out why I was getting a bunch of
ChunkLoadErrors
. The issue here: #40671 describes a workaround to the problem, but I think there needs to be a better way to alert developers of this issue.Yes, there is a section on the readme page about dynamic imports, but I had no idea that dynamic imports were even being used. Now that I know what the problem was, a fix doesn't benefit me, but I'm sure it will benefit other developers that run into this problem and get a bunch of 404 errors with no useful information to debug them.
Beta Was this translation helpful? Give feedback.
All reactions