These are chat archives for webpack/webpack/dev

26th
Apr 2017
andy-law
@andy-law
Apr 26 2017 11:52
Hi all. Not sure if I'm asking this in the correct channel, but hopefully. I've got an issue with hot reloading in Webpack 2. It seems that when looking for chunks to reload within HotModuleReplacementPlugin.js, this line var currentChunk = this.chunks.find(chunk => chunk.id === chunkId); is returning -1. This means that the following logic is flawed and the reload falls over, with error Error TypeError: Cannot read property 'filter' of undefined
It seems like the following if statement should also check if currentChunk has a property of modules. But I wanted to check first to see if I may have something incorrect in my setup
Tommy Kelly
@tomkel
Apr 26 2017 21:17
i'm interested in contributing to webpack development, anyone have a recommendation on where to start?