jaap klaas
jaap klaas

Reputation: 57

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.

Upvotes: 1

Views: 317

Answers (1)

programmerRaj
programmerRaj

Reputation: 2108

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.

Upvotes: 1

Related Questions