From 3671da35df24c76d3a686af7eda383cc240fa78c Mon Sep 17 00:00:00 2001 From: Jesus David Garcia Gomez Date: Tue, 10 Apr 2018 09:31:30 -0700 Subject: [PATCH] Fix: Add comment about the file name --- packages/parser-webpack-config/src/parser.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/parser-webpack-config/src/parser.ts b/packages/parser-webpack-config/src/parser.ts index 262de0875d4..4a9436c7ae9 100644 --- a/packages/parser-webpack-config/src/parser.ts +++ b/packages/parser-webpack-config/src/parser.ts @@ -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; }