I've recently noticed a unique behavior in my Webpack 5-built application during development
mode. The browser requests assets using a URL with an interesting app://
scheme. An example of this is:
app:///node_modules/dir/to/package/index.js
In the Debugger
tab of the devtools
, under Sources
, I observed the actual tree structure under app://
:
https://i.sstatic.net/zfk9r.png
The presence of the app://
tree only seems to appear under Sources
when the app is built in development
mode (using Webpack 5), indicating a potential link to Webpack. However, there is no mention of this behavior in the Webpack documentation.
Curiously, searching online yields almost no information about app://
, adding to the mystery surrounding it. This leads me to believe that it may be specific to Webpack and simply poorly documented or not documented at all.
If anyone has insights on this matter, I would greatly appreciate any input!
Thank you!