Menu icon Foundation
Foundation 5 Libsass - Loud Comments

I'm setting up my first Foundation 5 project with libsass and I just noticed that using the 'compressed' css output from Libsass is removing 'loud comments' - My project is a WordPress project and WP needs the multi-line comment declaration at the top of the main stylesheet.

Anyone know a way around this?

libsassloud commentswordpress

I'm setting up my first Foundation 5 project with libsass and I just noticed that using the 'compressed' css output from Libsass is removing 'loud comments' - My project is a WordPress project and WP needs the multi-line comment declaration at the top of the main stylesheet.

Anyone know a way around this?

reenan about 5 years ago

The only other option is 'nested', which is basically uncompressed. Right now, it looks like the only way to keep loud comments.

see https://github.com/sass/node-sass
OutputStyle
outputStyle is a String to determine how the final CSS should be rendered. Its value should be one of 'nested' or 'compressed'. ['expanded' and 'compact' are not currently supported by libsass]

derekshirk about 5 years ago

Ok - thanks