nystudio107 / annotated-webpack-config

This is the companion github repo for the "An Annotated webpack 4 Config for Frontend Web Development" article.
https://nystudio107.com/blog/an-annotated-webpack-4-config-for-frontend-web-development
MIT License
435 stars 75 forks source link

publicPath: settings.urls.publicPath() in webpack.common.js gives error #16

Closed TomDeSmet closed 5 years ago

TomDeSmet commented 5 years ago

publicPath: settings.urls.publicPath() gives an error when running devmode. Changing it to publicPath: settings.urls.publicPath solves it.

khalwat commented 5 years ago

That doesn't make sense... it is indeed a function

TomDeSmet commented 5 years ago

Sorry. There seems to be something wrong with the settings file when we pull from this report. It still was set to '/' instead of the function.