Skip to content

v0.0.87

Choose a tag to compare

@ityuany ityuany released this 08 Jan 07:17
· 41 commits to main since this release

Full Changelog: v0.0.86...v0.0.87

0.0.87

🐞 fix

fix: may be node_modules

the local_patterns before is [".", "../", "/","node_modules", "@/"], but now it is [".", "../", "/", "@/"].

remove node_modules from local_patterns.

the TargetMetadata.may_be is true when the target is in node_modules .

.e.g

  • "node_modules/antd/lib/Button" => true
  • "@babel/core/lib/something" => true
  • "@/src/index.ts" => false
  • "lodash/cloneDeep" => false
  • "demo/node_modules/antd/lib/Button" => true

fix: main_module_name

from import source, get npm module name.

.e.g

  • "@babel/core/lib/something" => "@babel/core"
  • "lodash/cloneDeep" => "lodash"
  • "node_modules/antd/lib/Button" => "antd"

fix: get_graph

where get_graph used to return only import deps , it now returns import and redirect export deps

  • add export * to graph.
  • add export * as namespace to graph.