Category: Webpack

  • Rails + Webpack + Webpack-Manifest + React + Babel 7 + HMR – [chunkHash]

    I’m writing this quick one up so you can save the 1.5 hours that I spent debugging this. Terms :HMR – HotModelReload – webpack-dev-server option to trigger browser-auto-refresh when webpack detects filechange (and re-compiles) Here’s what I’m using : Rails 5.2 Webpack-Manifest Gem Yarn Webpack (-cli) Webpack-dev-server @babel/core @babel/preset-react The issue : When running webpack-dev-server…