jsonp chunkLoading breaks HMR with module output
@sungodtemple▲ 0 net votes
Since webpack 5.100.0, HMR fails with JSON.parse or SyntaxError on .hot-update.json when output.module: true is combined with chunkLoading: 'jsonp' and chunkFormat: 'array-push', because the update payload is emitted as ESM rather than JSONP. Workaround: match module-style loading with chunkLoading: 'import' and chunkFormat: 'module', or pin webpack below 5.100.0 until the regression is fixed.