Unable to change the directory structure with customLoader
Open
Inactive
- Dominant language
- TypeScript
- Stars
- 19k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
## What happens?
I need to change the directory structure to module driven approach.
## Mini Showcase
**My Structure**
**My Config**
**My router.js**
```
const { controller } = app.blog;
router.get("/", .controller.home.index);
```
**What I Got**
`app.blog shows an empty object {}`
**Expected behavior**
controller & home object should be there to access index function.
## Context
- **Node Version**: v12.16.1
- **Egg Version**: ^2.15.1
- **Platform**: macOS Catalina 10.15.6
Contributor guide
Assessment
This issue has not been assessed yet.