Comments (3)
Just to be sure: you mean resolve.alias
from https://webpack.js.org/configuration/resolve/#resolvealias?
Unfortunately Webpack aliases are not addressed at all with Knip. Do you know of a tool to find unused things that does support Webpack aliases?
That said, without knowing the complexity of it all, at first sight it looks similar to TypeScript paths
configuration, so it might be doable to add (Webpack plugins are also on my mind for #7).
Let's keep this ticket open. Not highest priority, though. Do you have a repository I could see and explore things?
from knip.
I'm planning on supporting this in v1.1. At this time I'm working towards a v1.0 which is in a beta phase.
It will also be very helpful if you have examples/repositories available.
from knip.
The feature to add paths
has been added in v1.6.0. Also see the docs at https://github.com/webpro/knip#paths.
from knip.
Related Issues (20)
- Workspaces no longer correctly identified since 5.10 HOT 6
- Issue a warning or fail if a specific file given as an entry point does not exist HOT 1
- Marked as unused if used only in Vue <template> HOT 5
- To read TypeScript configuration files Jest requires "ts-node" HOT 2
- Re-exported type reported as unused with `ignoreExportsUsedInFile` HOT 3
- Imports with foreign file extensions fail with "Unable to find" file error HOT 13
- --cache-location is an unknown option HOT 2
- Programatically Run HOT 1
- Re-exports with usage of barrel files isn't indexed correctly HOT 5
- Support for external plugins HOT 1
- Commitlint plugin: specifier.startsWith is not a function HOT 1
- commitlint plugin update breaks when `parserPreset` isn't a `string`
- SvelteKit Demo App $app/* unresolved HOT 2
- 5.14.0 breaks knip in git submodules
- Documentation Site Version Selector leads to 404 HOT 1
- Support local custom plugin HOT 1
- Pino v7+ transports HOT 2
- Unused functions are not being detected HOT 5
- Default import name being used to determine if export is used HOT 4
- Re-exported enum members incorrectly reported as unused HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knip.