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.
1 parent c4b3a11 commit 63061e7Copy full SHA for 63061e7
index.js
@@ -1,10 +1,10 @@
1
var proxy = require('http-proxy-middleware');
2
3
-module.exports = api => {
+module.exports = (api, options) => {
4
api.configureDevServer((app) => {
5
app.use(proxy(
6
- api.projectOptions.pluginOptions.proxy.context,
7
- api.projectOptions.pluginOptions.proxy.options
+ options.pluginOptions.proxy.context,
+ options.pluginOptions.proxy.options
8
));
9
});
10
};
0 commit comments