I
I
InfoLabs2017-07-21 17:59:34
stylus
InfoLabs, 2017-07-21 17:59:34

Why does the glob syntax in import not work in stylus?

Hello. Trying to use glob syntax to include all files except those with underscores:
@import 'pages/index/styles/[^_]*'
Error:

failed to locate @import file pages/index/styles/^[_]*.styl

How to be? In general, what is the purpose, there is a directory, it contains

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2017-07-21
@werty1001

@import 'pages/index/styles/!(_*)'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question