We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a babel preset is used in webpack configuration file, it is not detected as a dependency.
Where the dependency is used:
module.export = { module: { rules: [ { test: /\.js$/, use: { loader: 'babel-loader', options: { presets: [ ['@babel/preset1', { option: 'option' }], '@babel/preset2' ]}, } }, ], }, }
Where the dependency is listed in package.json:
"devDependencies": { "@babel/preset1": "7.6.3", "@babel/preset2": "7.6.3", }
node -v
npm -v
depcheck --version
Currently creating a PR for that.
The text was updated successfully, but these errors were encountered:
special/webpack improvements (#449)
40fa69c
* special/webpack: Manage TypeScript webpack definition Issue #246 * special/webpack: Scan webpack entries for dependencies Issue #446 * special/webpack: Detect babel-loader presets Issue #448
Closed with #449
Sorry, something went wrong.
No branches or pull requests
Bug Description
When a babel preset is used in webpack configuration file, it is not detected as a dependency.
Code snippets
Where the dependency is used:
Where the dependency is listed in package.json:
Versions
node -v
: v8.12.0npm -v
: 6.4.1depcheck --version
: 0.8.4Extra info
Currently creating a PR for that.
The text was updated successfully, but these errors were encountered: