Request: set custom filename/location for `globalStylesheet.css` when running `faust generateGlobalStylesheet`.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 155
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 20
Description
Currently, faust generateGlobalStylesheet saves the generated globalStylesheet.css in the same root folder as package.json.
It would be really nice to be able to set the location and filename for where the global stylesheet gets saved, e.g. to src/styles/__generated__/globalStyles.css
Alternatives considered
faust generateGlobalStylesheet && mv globalStylesheet.css src/styles/globalStyles.css
works, but its not a pretty solution for what I can only assume will be a common use case.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with packages/faustwp-cli/src/generateGlobalStylesheet.ts at the referenced save location, then trace how faust generateGlobalStylesheet receives command options. The work is complete when the command accepts a custom filename and location and writes the generated stylesheet there, including the example src/styles/generated/globalStyles.css path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100