What's the relationship between them?
After reading webpack docs. I am still not very clear.
I know output.path clearly.
The docs say that webpack-dev-server will serve the bundle files in memory. So, what's the contentBase property meaning?
and what's the relationship with publicPath?
It seems no relationship
"publicPath" is "URL path where the webpack files are served from", just like a url-prefix
"contentBase" is "the directory to serve files non-webpack files from", serve file not generate by webpack
More other info is here: webpack-dev-server option
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With