Skip to content

Commit

Permalink
Add scrappy script to print some plugin table
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Mar 11, 2024
1 parent cdd4baa commit 6f293c1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/knip/scripts/generate-plugin-overview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ for await (const dir of directories) {
entry: plugin.entry?.length > 0 ? 1 : 0,
production: plugin.production?.length > 0 ? 1 : 0,
resolve: plugin.resolve ? 1 : 0,
resolveFromPath: plugin.resolveFromPath ? 1 : 0,
resolveConfig: plugin.resolveConfig ? 1 : 0,
resolveEntryPaths: plugin.resolveEntryPaths ? 1 : 0,
n: 1,
Expand All @@ -40,7 +39,6 @@ data.forEach(plugin => {
t.cell('production', plugin.production, Table.number(0));
t.cell('resolve', plugin.resolve, Table.number(0));
t.cell('resolveEntryPaths', plugin.resolveEntryPaths, Table.number(0));
t.cell('resolveFromPath', plugin.resolveFromPath, Table.number(0));
t.cell('resolveConfig', plugin.resolveConfig, Table.number(0));
t.cell('n', plugin.n, Table.number(0));
t.newRow();
Expand All @@ -53,7 +51,6 @@ t.total('entry');
t.total('production');
t.total('resolve');
t.total('resolveEntryPaths');
t.total('resolveFromPath');
t.total('resolveConfig');
t.total('n');

Expand Down

0 comments on commit 6f293c1

Please sign in to comment.