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

[Feature]: Analysis of tree shaking #299

Open
easy1090 opened this issue Apr 20, 2024 · 0 comments
Open

[Feature]: Analysis of tree shaking #299

easy1090 opened this issue Apr 20, 2024 · 0 comments

Comments

@easy1090
Copy link
Collaborator

easy1090 commented Apr 20, 2024

What problem does this feature solve?

Provide the analysis ability of tree-shaking:

  1. The exported variables of the module file.
  2. The unused exported variables and the used exported variables.
  3. The link of the used exported variables.
  4. Side effect analysis.
    img_v3_02a3_018b4a34-5310-476f-8e31-34f37d5c565g

What does the proposed API look like?

features: {
treeShaking: true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant