You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix error importing createProxyMiddleware function
When the `createProxyMiddleware` function is imported with curly braces ({}) like this:
` const { createProxyMiddleware } = require('http-proxy-middleware');`
it causes following error:
`createProxyMiddleware is not a function`
The `createProxyMiddleware` function works when imported without curly braces ({}):
`const createProxyMiddleware = require('http-proxy-middleware');`
0 commit comments