Skip to content

Commit

Permalink
🔧(frontend) scan only grommet dependency
Browse files Browse the repository at this point in the history
The scan was scanning grommet-icons as well, which is not needed
for the moment. This commit will allow us to scan only grommet
and not grommet-icons.
  • Loading branch information
AntoLC committed Oct 4, 2023
1 parent fb2b0b6 commit 2038de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/react-scanner.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = {
crawlFrom: "./",
includeSubComponents: true,
exclude: [/^(.*)node_modules([\s\S]*)$/],
importedFrom: /^(.*)grommet([\s\S]*)$/,
importedFrom: /^(.*)grommet$/,
processors: [["count-components", { outputTo: "./report.json" }]],
};

0 comments on commit 2038de1

Please sign in to comment.