Tobias Koppers
Tobias Koppers
Needs a rebase
A test case would be great
This may is a bit more involved to fix...
`{}` seem to be the "existance only" object. So watchpack doesn't known about anything but that this file/directory exists. That doesn't seem to be enough for snapshoting, so webpack need...
That seem to be caused by the leading `/` in the entry name
There is a [`module.hot.invalidate()` API](https://webpack.js.org/api/hot-module-replacement/#invalidate), which allows to schedule a HMR update of a module. All invalidated modules will be re-executed on `module.hot.apply()`. But that might not work for RemoteModules,...
Eventually we probably would like to implement cross-container HMR, where the remote would expose a `hot` export, which bubbles the HMR event from the exposed module to the remote module.
hmm.. i don't think it's good... It need to be something like: ``` js var result = ....transformWithDetails(...); this.callback(null, result.code, result.map); ```
only with the `source-map-loader`... So it's better to return it directly... also better for performance...
see https://github.com/jRiest/jsx-loader/commit/9a0bce47d0ae92937c6a0626a481ad822802857a#commitcomment-7486540