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
entry from main, module, umd and exports
- Read
externals from dependencies, devDependencies and peerDependencies
- Read
alias from package.json#imports
Or, maybe create a new tool Rspkg that uses Rslib with zero-configuration.
What problem does this feature solve?
Tools like
pkgrollandmicrobundleoffer 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 frompackage.json.entryfrommain,module,umdandexportsexternalsfromdependencies,devDependenciesandpeerDependenciesaliasfrompackage.json#importsOr, maybe create a new tool Rspkg that uses Rslib with zero-configuration.