Gozala / Gozala/alias-quokka-plugin

does not traverse subdirectories

Open
#3 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I have a bunch of modules under @app, for example @app/api. `alias-quokka-plugin` won't let me make an alias to @app, then find things under @app by traversing subdirectories.

**Example:**
I have few packages:
- `@app/api`
- `@app/lib/interface/status`
- `@app/lib/enums`
- `@app/lib/controller/BaseFormController`

I would like to do this and have this package traverse subdirectories by itself:
```json
"quokka": {
"plugins": ["alias-quokka-plugin"],
"alias": {
"@app": "src/app"
}
},
```

However, I have to do it this way, which is troublesome:
```json
"quokka": {
"plugins": ["alias-quokka-plugin"],
"alias": {
"@app/api": "src/app/api",
"@app/lib/interface/status": "src/app/lib/interface/status",
"@app/lib/enums": "src/app/lib/enums",
"@app/lib/controller/BaseFormController": "src/app/lib/controller/BaseFormController"
}
},
```

Can this be fixed?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.