标签: webpack proxy webpack-dev-server
我有两个webpack开发服务器。我想将每个JavaScript文件customfeature-file1.js或customfeature-file2.js代理到另一台服务器。
customfeature-file1.js
customfeature-file2.js
proxy: { '/customfeature-.+\.js': { target: 'http://localhost:3003', } },
如何代理以customfeature-开头的任何文件?
customfeature-