andersevenrud / andersevenrud/osjs-example-overlay
Template overlays don't work
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
I tried to build from an overlay template as specified in this repo's README.
config:
```
{
"overlays": [
"overlays/example"
],
"repositories": [
"default",
"example"
],
"build": {
"template": "example"
}
}
```
where the 'example' template files were in `src/overlays/example/templates?dist`. Looks like the `getTemplateFile()` function in `os-js-build`'s `webpack.js` has a hardcoded root path ?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the README overlay example and the getTemplateFile() function in os-js-build's webpack.js. Trace how it resolves files under src/overlays/example/templates?dist, then verify that building with the supplied configuration successfully finds the example template.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100