WapplerSystems / ws_scss

SASS Compiler for TYPO3
11 stars 25 forks source link

Improve the @import regex for collecting files #31

Closed andreashager closed 4 years ago

andreashager commented 4 years ago

The regex for collecting imports is improved to handle single or double quotes and imports can be written as one line, separated by comma.

See: https://sass-lang.com/documentation/at-rules/import

@import 'foundation';

or

@import "foundation";

or

@import 'code', 'lists';

or

@import
    "abstracts/variables",
    'abstracts/functions';

Please have a look at the changes pls and let me know if i should add something 🙂

Best regards, Andi

svewap commented 4 years ago

Thank you very much!