You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah! Using package.json as the single source of truth is in plan. Rslib also should check the correctness with it when providing a rslib.config file. We may support autoExternal at first (tracked in #46).
What problem does this feature solve?
Tools like
pkgroll
andmicrobundle
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 frompackage.json
.entry
frommain
,module
,umd
andexports
externals
fromdependencies
,devDependencies
andpeerDependencies
alias
frompackage.json#imports
Or, maybe create a new tool Rspkg that uses Rslib with zero-configuration.
The text was updated successfully, but these errors were encountered: