I have this output configuration in my webpack.config file:
config = {
...
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'bundle.js',
publicPath: 'http://localhost:8090/'
},
... }
The bundle.js is not written to the path specified in path
; it is only available through the
web server whereas I would like both.
What should I change to have both the file and the web server ?