File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ const webpackConfigurationSchema = require("../config/webpackConfigurationSchema
77const validateSchema = require ( "webpack" ) . validateSchema ;
88const WebpackOptionsValidationError = require ( "webpack" ) . WebpackOptionsValidationError ;
99const findup = require ( "findup-sync" ) ;
10- // const { webpackConfigPath } = require("@webpack-cli/utils/path-utils");
1110
1211module . 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 ) ;
You can’t perform that action at this time.
0 commit comments