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

dependency-tree is very slow #700

Closed
zachleat opened this issue Sep 19, 2019 · 1 comment
Closed

dependency-tree is very slow #700

zachleat opened this issue Sep 19, 2019 · 1 comment
Assignees
Labels
bug: lite Debatable whether or not this is a bug. I mean, it’s not great but it’s not really broken either. enhancement
Milestone

Comments

@zachleat
Copy link
Member

zachleat commented Sep 19, 2019

You’ll see this if you’re watching your JS dependencies (on by default: https://www.11ty.io/docs/config/#watch-javascript-dependencies) and you use --watch or --serve.

From ndb it looks like even just the require for this module takes a long time (even if you aren’t using this feature).

It also does a ton of things we don’t need. After a quick check of the docs it doesn’t look like it allows you to opt-out of the extra stuff we don’t need (typescript, css, etc). Need to find an alternative.

@zachleat zachleat added this to the Next Minor Version milestone Sep 19, 2019
@zachleat zachleat self-assigned this Sep 19, 2019
@zachleat zachleat added the bug: lite Debatable whether or not this is a bug. I mean, it’s not great but it’s not really broken either. label Sep 19, 2019
@zachleat
Copy link
Member Author

Published https://github.com/11ty/eleventy-dependency-tree to workaround this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: lite Debatable whether or not this is a bug. I mean, it’s not great but it’s not really broken either. enhancement
Projects
None yet
Development

No branches or pull requests

1 participant