Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New] no-unused-modules: support dynamic imports #1660

Merged

Commits on Jun 20, 2020

  1. [utils] [new] add visit, to support dynamic imports

    See import-js#1660, import-js#2212.
    
    Co-authored-by: Max Komarychev <maxkomarychev@gmail.com>
    Co-authored-by: Filipp Riabchun <filipp.riabchun@jetbrains.com>
    Co-authored-by: 薛定谔的猫 <weiran.zsd@outlook.com>
    3 people authored and ljharb committed Jun 20, 2020
    Copy the full SHA
    7579748 View commit details
    Browse the repository at this point in the history
  2. [New] no-unused-modules: support dynamic imports

    All occurences of `import('...')` are treated as namespace imports
    (`import * as X from '...'`)
    
    See import-js#1660, import-js#2212.
    
    Co-authored-by: Max Komarychev <maxkomarychev@gmail.com>
    Co-authored-by: Filipp Riabchun <filipp.riabchun@jetbrains.com>
    Co-authored-by: 薛定谔的猫 <weiran.zsd@outlook.com>
    3 people authored and ljharb committed Jun 20, 2020
    Copy the full SHA
    7c382f0 View commit details
    Browse the repository at this point in the history