Skip to content

Commit

Permalink
feat(info): show information for webpack-cli packages by default (#3362)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 authored and alexander-akait committed Nov 15, 2022
1 parent 3a0377f commit a1161a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/info/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,9 @@ class InfoCommand {
Monorepos: ["Yarn Workspaces", "Lerna"],
System: ["OS", "CPU", "Memory"],
npmGlobalPackages: ["webpack", "webpack-cli", "webpack-dev-server"],
npmPackages: "{*webpack*,*loader*}",
};

let defaultPackages: string[] = ["webpack", "loader"];
let defaultPackages: string[] = ["webpack", "loader", "@webpack-cli/"];

if (typeof options.additionalPackage !== "undefined") {
defaultPackages = [...defaultPackages, ...options.additionalPackage];
Expand Down

0 comments on commit a1161a8

Please sign in to comment.