austinpray / asset-builder

assembles and orchestrates your dependencies so you can run them through your asset pipeline.
http://use-asset-builder.austinpray.com
MIT License
181 stars 30 forks source link

Not parsing .sass files #50

Open davidyeiser opened 9 years ago

davidyeiser commented 9 years ago

Forgive me if my language is not precise, I'm more of a designer than a developer.

I'm using the Sage theme for a project and when I try compile my assets with Gulp I get this error:

[09:28:53] Starting 'styles'...
/.../theme-3.0/styles/main.css:28:12: Unknown word
  font-size: 15px
  @media #{$break-mobile-landscape}
           ^
    font-size: 15px
[09:28:53] Finished 'styles' after 72 ms

When I navigate to dist/styles the main.css file is not there.

Here's the manifest.json snippet:

"main.css": {
      "files": [
        "sass/base.sass"
      ],
      "main": true
    },

However, when I change .sass to .scss everything works fine (I converted the .sass files to .scss with sass-convert to test).

"main.css": {
      "files": [
        "sass/base.scss"
      ],
      "main": true
    },

Terminal:

[09:32:36] Starting 'styles'...
[09:32:36] Finished 'styles' after 158 ms

And the main.css file is in dist/styles and is generated properly.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26447066-not-parsing-sass-files?utm_campaign=plugin&utm_content=tracker%2F8853550&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F8853550&utm_medium=issues&utm_source=github).
austinpray commented 8 years ago

Yeah I'll go ahead and add support for .sass. Perhaps as an extension of https://github.com/austinpray/asset-builder/issues/35

davidyeiser commented 8 years ago

Awesome, thanks!