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: add exclude option to filter command #89

Open
1 task
ChristopherPHolder opened this issue May 4, 2024 · 0 comments
Open
1 task

feature: add exclude option to filter command #89

ChristopherPHolder opened this issue May 4, 2024 · 0 comments

Comments

@ChristopherPHolder
Copy link
Owner

Motivation

As user i want to be able to see what chunks are required for a feature and are not require for a parent feature.

  • feature = entry point, route, feature, lazy component or dynamic-import

Description

Allow user to select both included entry points and excluded entry points on filter command.

Examples:

Full Command

esbuild-meta filter --dist stats.json --entry movie-detail-page --excludeFromEntry main

Command with Alias

esbuild-meta -d stats.json -e movie-detail-page -x main

Handling invalid input

If the user passes an entry point that does not exist it should throw an error. The error should contain the invalid entry input.

  • handle entry input not existing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant