6 ms·
Still can't import pure CSS files without having to rename them to .scss. It's been in talks for over two years now, very disappointing.
by nbody 13y ago
Still can't import pure CSS files without having to rename them to .scss. It's been in talks for over two years now, very disappointing.
- psychometry 13y agoWhat's so bad about having to rename a file?
- bramdevries 13y agoIf you're using dependency managers like bower you either have to import the stylesheet in your <head> or use the @include in a sass stylesheet, both will be a new HTTP request. Whereas if you compile it in one file, you save an extra request (now imagine you use multiple dependencies each with their own css file). Renaming a file would defeat the whole point of dependency management.
- steveax 13y agoJust use the link to the CSS file in development an have your build tools concatenate everything for production. Certainly not a show stopper.
- hopfog 13y agoI don't remember if I've tried it but I thought this was fixed in 3.0. http://sass-lang.com/documentation/file.SASS_CHANGELOG.html#css__directives http://sass-lang.com/documentation/file.SASS_CHANGELOG.html#...
- nbody 13y agoThat adds a CSS import rule, doesn't embed the content.