Skip to content

Commit

Permalink
Fix: Add comment about the file name
Browse files Browse the repository at this point in the history
  • Loading branch information
sarvaje committed Apr 10, 2018
1 parent e161a47 commit 3671da3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/parser-webpack-config/src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ export default class WebpackConfigParser extends Parser {
const resource = fetchEnd.resource;
const fileName = path.basename(resource);

/*
* In webpack documentation, this is the file name they
* always use: https://webpack.js.org/configuration/
*/
if (fileName !== 'webpack.config.js') {
return;
}
Expand Down

0 comments on commit 3671da3

Please sign in to comment.