-
-
Couldn't load subscription status.
- Fork 6.3k
Open
Labels
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',
}]
}
};Aterbonus, romansp, fsblemos, alexdilley, rnicholus and 5 morefsblemosmwahlhuetter