Skip to content

Commit

Permalink
Update function description.
Browse files Browse the repository at this point in the history
  • Loading branch information
filipsobol committed Jul 19, 2024
1 parent 94dfeeb commit 99fa293
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ async function findMisplacedDependencies( options ) {
}

/**
* Checks if a package is a development dependency: a package not used in the source and theme.
* Checks if a given package is a development-only dependency. Package is considered a dev dependency
* if it is used only in files that are not used in the final build, such as tests, demos or typings.
*
* @param {String} packageName
* @param {Array.<String>} absolutePaths Files where a given package has been imported.
Expand Down

0 comments on commit 99fa293

Please sign in to comment.