Skip to content

Commit 271b7fe

Browse files
committed
Add special handling for namespace deps of plot
1 parent 7487754 commit 271b7fe

File tree

1 file changed

+4
-1
lines changed
  • lib/node_modules/@stdlib/_tools/pkgs/namespace-deps/lib

1 file changed

+4
-1
lines changed

lib/node_modules/@stdlib/_tools/pkgs/namespace-deps/lib/deps.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ function namespaceDeps( ns, level, dev ) {
117117
if ( pkg === ns ) {
118118
continue;
119119
}
120-
if ( startsWith( pkg, ns ) ) {
120+
if (
121+
startsWith( pkg, ns ) ||
122+
( ns === '@stdlib/plot/ctor' && startsWith( pkg, '@stdlib/plot' ) )
123+
) {
121124
fileDeps = namespaceDeps( pkg, level, dev );
122125
for ( j = 0; j < fileDeps.length; j++ ) {
123126
if (

0 commit comments

Comments
 (0)