Acces files from webpack dev server

I’m looking for the location of the files (bundles) that the webpack dev server use to send to the browser, but apparently, they magically are accessible by the browser and they are no where to be found! Please help me resolve this mystery.

Answer

By default, webpack dev server doesn’t actually write files, it servers then in response to http requests. You can use the writeToDisk option if you want webpack to actually write the files. See https://stackoverflow.com/a/52944885/11145447.