0๐
โ
Try adding publicPath: '/static/js/'
to output.
Also, if you serve your js from your Django template page, you can use django-webpack-loader, it simplifies serving js files and supports hot module reloading.
Source:stackexchange.com