How can a rule be correctly written in a .styl
file to import all files from selected folders except those that contain the -ie
suffix (e.g. bar-ie.style)? What is the best way to achieve this?
The code below is not functioning as expected:
import(['../modules/*', '!../modules/*-ie.styl'])
Alternatively, is there a regexp-based approach to writing it, similar to:
import('../modules/+(*|!*-ie.*)')