package.json script command did not properly work with subfolders

when we use path/to/**/*.someFile we can list all file throw every level deep in subfolder match like this pic

but with stylus when it detect first match did not any deeper subfolder look at this pic

with yarn build-css script run it found normalize.styl and index.styl and compile it to css but it never find register.styl in in modules/register folder

this is the actual repo i want this feature.

it’s worked when i just run stylus ./src/**/*.styl and compiled every stylus i have in subfolders look at this pic

but when i run yarn build-css it’s not found register.styl

(You might get an answer here, but because this forum is focused on npm, you might want to ask your question somewhere that targets experts with your package. I have moved your topic to #community:javascript)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.