File tree 1 file changed +0
-2
lines changed
1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ const webpackConfigurationSchema = require("../config/webpackConfigurationSchema
7
7
const validateSchema = require ( "webpack" ) . validateSchema ;
8
8
const WebpackOptionsValidationError = require ( "webpack" ) . WebpackOptionsValidationError ;
9
9
const findup = require ( "findup-sync" ) ;
10
- // const { webpackConfigPath } = require("@webpack-cli/utils/path-utils");
11
10
12
11
module . exports = function ( ...args ) {
13
12
const argv = args [ 1 ] || args [ 0 ] ;
@@ -73,7 +72,6 @@ module.exports = function(...args) {
73
72
const defaultConfigFileNames = [ "webpack.config" , "webpackfile" ] . join ( "|" ) ;
74
73
const webpackConfigFileRegExp = `(${ defaultConfigFileNames } )(${ extensions . join ( "|" ) } )` ;
75
74
const pathToWebpackConfig = findup ( webpackConfigFileRegExp ) ;
76
- // const pathToWebpackConfig = webpackConfigPath(extensions);
77
75
78
76
if ( pathToWebpackConfig ) {
79
77
const resolvedPath = path . resolve ( pathToWebpackConfig ) ;
You can’t perform that action at this time.
0 commit comments