Only proxy to match path while options.map is defined and bypass
others. So, mutil proxy host will be supported.
e.g:
proxy({
host: 'http://alicdn.com',
map: {
'index.js': 'index-1.js'
}
})
Only index.js will be proxy to http://alicdn.com.
If you want to proxy other path to another host, just define another
proxy!
Only proxy to match path while options.map is defined and bypass others. So, mutil proxy host will be supported. e.g: proxy({ host: 'http://alicdn.com', map: { 'index.js': 'index-1.js' } }) Only index.js will be proxy to http://alicdn.com. If you want to proxy other path to another host, just define another proxy!
Change-Id: I4c21d75c81a2360887a6b8a0a1dcec6e93532ed5