Currently resolution for each function doesn't take advantage of fact that dependencies for some module might have been already resolved in previous function call.
That may require some updates in cjs-module package, to share stats cache among calls.
Additionally it'll be good to optimize package.json detection and do not check same folders twice
Currently resolution for each function doesn't take advantage of fact that dependencies for some module might have been already resolved in previous function call. That may require some updates in
cjs-module
package, to share stats cache among calls.Additionally it'll be good to optimize
package.json
detection and do not check same folders twice