-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
Reproduction
https://stackblitz.com/edit/github-8qb4tr6d?file=package.json&startScript=build
Describe the bug
lodash
is installed as a dependency but isn't referenced in the source code.
The build should warn for this unused dependency.
Lines 33 to 39 in a6570a5
if (unusedDependencies.size > 0) { | |
warn( | |
ctx, | |
"Potential unused dependencies found: " + | |
[...unusedDependencies].map((id) => colors.cyan(id)).join(", "), | |
); | |
} |
Additional context
No response
Logs
pi0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working