Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(importer): support nodejs module default main file "index.js" whe…
…n "main" is missing in package.json When "main" is missing in package.json, nodejs uses default main file "index.js", it will complain when default main file is missing. This fix supports nodejs module with missing "main" in package.json. It solves importing issue on nodejs module "date-fns". #831 is related, that PR solves tracing issue on "date-fns".
- Loading branch information