web-infra-dev / web-infra-dev/rslib
[Feature]: Zero-Configuration Rslib
Open
@fi3ework is already working on this.
Since Oct 15, 2024.
💡 feature
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 67
- Avg merge
- 6h 9m
- Merged PRs (30d)
- 57
Description
What problem does this feature solve?
Tools like pkgroll and microbundle offer zero-configuration support. It would be great if Rslib also supports using with zero-configuration.
What does the proposed API look like?
Rslib can be run without rslib.config.ts. Most of the configuration can be read from package.json.
- Read
entryfrommain,module,umdandexports - Read
externalsfromdependencies,devDependenciesandpeerDependencies - Read
aliasfrompackage.json#imports
Or, maybe create a new tool Rspkg that uses Rslib with zero-configuration.
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.
Assessment
This issue has not been assessed yet.