npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

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)