We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f557a8e + ec3805a commit f2216b2Copy full SHA for f2216b2
src/BrowserSyncDevHotWebpackPlugin.js
@@ -90,6 +90,15 @@ class BrowserSyncDevHotWebpackPlugin extends EventEmitter {
90
this.browserSyncURLUI = null;
91
this.browserSyncURLUIExternal = null;
92
93
+ if (
94
+ this.options.browserSync &&
95
+ typeof this.options.browserSync.proxy === "string"
96
+ ) {
97
+ const target = this.options.browserSync.proxy;
98
+
99
+ this.options.browserSync.proxy = { target };
100
+ }
101
102
this.options.browserSync = merge.all([
103
{
104
proxy: {
0 commit comments