-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi there!
Many thanks for publishing and maintaining this amazing package.
I’m currently working on an internal tool that requires HMR and also strongly depends on exact source maps for static code analysis. I appreciate that the current implementation already tries to minimize the impact on source maps by minifying the injected code down to a single line, but unfortunately this still breaks source maps in my situation.
I can work around this for now, but I was wondering whether it would be possible to add an option to skip the code injection entirely until full source map handling is implemented.
I understand this would make import.meta.hot unavailable in imported modules, but if I’m not mistaken, it should be possible to work around that by importing the required values directly from the hot-hook package.
I doubt many people have the same use case, so I completely understand if this feature request is dismissed. In any case, I’d love to hear your thoughts on this.
Looking forward to your reply, and thanks again for your excellent work on this package!