meteor-scss: [SASS] Application broken since v.3.3

I’m using SASS (not SCSS) and having this error on all files that has an import:

   While processing files with fourseven:scss (for target web.browser):
   /main.sass: Scss compiler error: invalid top-level expression

Or this:

   /client/templates/components/header/header.sass: Scss compiler error: top-level @import directive must be
   terminated by ';'

It seems that it’s trying to compile my .sass as an .scss.

REPRODUCTION:

main.sass

@import "teste"

_teste.sass THIS IS NOT WORKING ANYMORE

body
  background: red

_teste.sass this works, but shouldn’t because it’s a .sass

body {
  background: red;
}

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 22 (3 by maintainers)

Commits related to this issue

Most upvoted comments

Same Issue.

Same issue In the end I downgraded from 3.8.0_1 to 3.2.0. Are there any plans to fix the .sass import?

Booo 😿 would like to see this fixed eventually

Had this error after adding Bulma,

meteor add fourseven:scss
meteor npm install bulma

client/main.scss

@charset "utf-8";
@import "../node_modules/bulma/bulma.sass";

Is there any known way to get this package working with Bulma?

I’ll reopen till this is fixed in node-sass

As it was not fixed, I created a pull request adding a unit test that shows my problem.