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 22d823f commit e94b979Copy full SHA for e94b979
index.js
@@ -1,6 +1,7 @@
1
var proxy = require('http-proxy-middleware');
2
3
module.exports = (api, options) => {
4
+ if (options.pluginOptions === undefined) return;
5
const opts = options.pluginOptions.proxy;
6
7
if (opts && (opts.enabled === undefined || opts.enabled)) {
0 commit comments