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 committed Oct 8, 2022
1 parent 6111128 commit ceda37f
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 ceda37f

Please sign in to comment.