You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error "module is undefined" at module.hot checks in DebugEngine shows up.
After some reading I'm just getting more confused about that.
The webpack 5 docs suggest that it has been moved to import.meta.webpackHot because of removal of module
The vite docs suggest it has always been in import.meta.hot there (the docs at the rollup plugin)
After all it seems to depend on the bundler and on cjs vs esm modules.
Anyway its uses should be guarded against undefined parent objects and the three diffferent paths ["module.hot", "import.meta.hot", "import.meta.webpackHot"] should all be checked for it IMHO.
The text was updated successfully, but these errors were encountered:
The error "module is undefined" at module.hot checks in DebugEngine shows up.
After some reading I'm just getting more confused about that.
After all it seems to depend on the bundler and on cjs vs esm modules.
Anyway its uses should be guarded against undefined parent objects and the three diffferent paths ["module.hot", "import.meta.hot", "import.meta.webpackHot"] should all be checked for it IMHO.
The text was updated successfully, but these errors were encountered: