File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -992,16 +992,16 @@ class WebpackCLI implements IWebpackCLI {
992
992
// Extract all the flags being exported from core.
993
993
// A list of cli flags generated by core can be found here https://github.com/webpack/webpack/blob/main/test/__snapshots__/Cli.basictest.js.snap
994
994
const options = builtInFlags . concat (
995
- Object . entries ( this . webpack . cli . getArguments ( ) )
996
- . map < WebpackCLIBuiltInOption > ( ( [ name , meta ] ) => {
995
+ Object . entries ( this . webpack . cli . getArguments ( ) ) . map < WebpackCLIBuiltInOption > (
996
+ ( [ name , meta ] ) => {
997
997
return {
998
998
...meta ,
999
999
name,
1000
1000
group : "core" ,
1001
1001
helpLevel : minimumHelpFlags . includes ( name ) ? "minimum" : "verbose" ,
1002
1002
} ;
1003
- } )
1004
- . concat ( builtInFlags ) ,
1003
+ } ,
1004
+ ) ,
1005
1005
) ;
1006
1006
1007
1007
this . builtInOptionsCache = options ;
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
+ mode : "development" ,
2
3
infrastructureLogging : {
3
4
level : "log" ,
4
5
} ,
You can’t perform that action at this time.
0 commit comments