Open
Description
What problem does this feature solve?
Passing an Array to devServer.proxy is not supported.
It can be used to proxy multiple, specific paths to the same target.
https://webpack.js.org/configuration/dev-server/#devserver-proxy
What does the proposed API look like?
module.exports = {
//...
devServer: {
proxy: [{
context: ['/auth', '/api'],
target: 'http://localhost:3000',
}]
}
};