Is there a way to cause an error in Stylus in the absence of a variable?

I recently switched from Sass to Steel, and I love him.

However, Sass does have a meaning that does not exist in the stylus. The compiler should yell at me if the variable is undefined, instead of just spitting it out like a string, like nothing had ever happened.

Is there a way to make the compiler yell at me?

+4
source share
1 answer

Assuming all options are on this page , you cannot do what you want at the moment.

You can add this function yourself or request it (creating a problem) on the official github repo

, .

0

Source: https://habr.com/ru/post/1665968/


All Articles