False positive when using inline Webpack loader
See original GitHub issueThis tool returns a false positive when calling a script using an inline Webpack loader. For instance:
require('script-loader!slick-carousel');
Here, depcheck
considers slick-carousel
as unused.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
False positives for nyc, babel, eslint, webpack and its loaders
Yep, noticing that all my webpack loaders are showing up as unused dependencies, even while using the specials=webpack flag.
Read more >eslint giving false positive - typescript - Stack Overflow
I'm new to Webpack and have ran into an issue with eslint and Typescript. eslint is telling me that I'm missing return type...
Read more >Loader Interface - webpack
Loaders may be added inline in requests and disabled via inline prefixes, ... Call this method passing false to make the loader's result...
Read more >Asset Modules - webpack
Previously achievable by using file-loader . asset/inline exports a data URI of the ... When using the old assets loaders (i.e. file-loader /...
Read more >Optimization - webpack
Tells webpack which algorithm to use when choosing chunk ids. Setting optimization.chunkIds to false tells webpack that none of built-in algorithms should be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jpetitcolas A year and a week later, this is fixed, will be available in the next release, next week surely
@znarf what’s an Open Collective bounty?