私の場合、たとえば、以下のようにいくつかの common.styl を含む 2 つのスタイラス ファイルがあります。
- css/
- stylus/
| - homepage.styl
| - article.styl
| - lib/
| - common.styl
ホームページ.スタイル
@import "lib/common.styl
// blah blah blah
記事.スタイル
@import "lib/common.styl
//blah blah blah
をセットアップしてファイルをstylus -w stylus/ -o css/
変更するとcommon.styl
、スタイラスは再コンパイルされたarticle.style
だけで、homepage.styl
無視されました。
これについて何か考えがありますか?
ありがとうございます。