Open tommymarshall opened 6 years ago
Faced a similar issue while trying to setup additional proxy middleware in browsersync.
Apparently https://github.com/vigetlabs/blendid/pull/503 has added an option extraMiddlewares
that allow us to add additional proxy middleware.
browserSync: {
server: {
extraMiddlewares: [
proxy({
...url.parse('http://api-server/api'),
route: '/api',
}),
],
},
port: 8888,
You also cannot tell blendid not to use webpack-dev-middleware to get around this so we can at least build the JS file locally.