dustc: provide an output-dir setting
Open
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 461
- PR merge metrics
- No merged PRs in 30d
Description
When --split is turned on, templates are compiled in place. It would be useful to create a separate identical directory structure.
For example, if templates are located at:
```
templates/foo.dust
templates/include/bar.dust
```
It would be useful to compile them to
```
compiled/foo.js
compiled/include/bar.js
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the dustc entry point and the handling for --split. Trace how template paths become compiled files, then verify that an output directory preserves the example's directory structure while leaving source templates unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100