Skip to content

Commit ed4095f

Browse files
committedApr 20, 2019
chore(cli): cleanup
cleanup
1 parent fe9c289 commit ed4095f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎bin/utils/convert-argv.js

-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const webpackConfigurationSchema = require("../config/webpackConfigurationSchema
77
const validateSchema = require("webpack").validateSchema;
88
const WebpackOptionsValidationError = require("webpack").WebpackOptionsValidationError;
99
const findup = require("findup-sync");
10-
// const { webpackConfigPath } = require("@webpack-cli/utils/path-utils");
1110

1211
module.exports = function(...args) {
1312
const argv = args[1] || args[0];
@@ -73,7 +72,6 @@ module.exports = function(...args) {
7372
const defaultConfigFileNames = ["webpack.config", "webpackfile"].join("|");
7473
const webpackConfigFileRegExp = `(${defaultConfigFileNames})(${extensions.join("|")})`;
7574
const pathToWebpackConfig = findup(webpackConfigFileRegExp);
76-
// const pathToWebpackConfig = webpackConfigPath(extensions);
7775

7876
if (pathToWebpackConfig) {
7977
const resolvedPath = path.resolve(pathToWebpackConfig);

0 commit comments

Comments
 (0)
Please sign in to comment.