-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
Is your feature request related to a problem? Please describe.
I would like this script (inside src/middlwares/index.js) to change to make it dynamic. Check the solution below for more clarification
import { createUserMiddleware } from './user'
const userMiddleware = {
createUserMiddleware
}
export default userMiddlewareDescribe the solution you'd like
import { createUserMiddleware } from './user'
export {
createUserMiddleware
}Thus, it will allow dynamic exports of many middlewares from the index file.
Describe alternatives you've considered
N/A
Additional context
N/A