Giter Site home page Giter Site logo

Comments (15)

g13013 avatar g13013 commented on July 17, 2024

Hi,
I need some information please:

  • broccoli-compass version?
  • compass version
  • Are you sure that your style files are copied into app/styles directory ? just to be sure :)

from broccoli-compass.

thetutlage avatar thetutlage commented on July 17, 2024

Compass version :- Compass 1.1.0.alpha.3 (Polaris)
Broccoli Compass version :- 0.2.3

And yes files are there

from broccoli-compass.

g13013 avatar g13013 commented on July 17, 2024

can you try with another compass version, maybe 1.0.0 ? I believe it's a compass issue expecting other parameters.

from broccoli-compass.

g13013 avatar g13013 commented on July 17, 2024

@thetutlage ping :)

from broccoli-compass.

thetutlage avatar thetutlage commented on July 17, 2024

No it is not compass issue , the same command on terminal works great.

from broccoli-compass.

g13013 avatar g13013 commented on July 17, 2024

Can you give me the structure of the input tree ?

from broccoli-compass.

g13013 avatar g13013 commented on July 17, 2024

is your problem solved ?

from broccoli-compass.

g13013 avatar g13013 commented on July 17, 2024

Can i know what was the problem ?

from broccoli-compass.

thetutlage avatar thetutlage commented on July 17, 2024

I actually switched to https://github.com/joefiorini/broccoli-ruby-sass and was not able to find the real issue.

Tree structure is something like this

├─ app/
│ ├─ styles/
│ ├── app.scss/
├─ dist/

from broccoli-compass.

g13013 avatar g13013 commented on July 17, 2024

Should not the sassDir be 'app.scss' instead of app/scss?

from broccoli-compass.

thetutlage avatar thetutlage commented on July 17, 2024

it is app/styles and app.scss is the file not directory ?

from broccoli-compass.

g13013 avatar g13013 commented on July 17, 2024

ahh so it must not end with a / that's why i assumed it is a directory, it is strange thought, it should work correctly.

was the input tree that you submitted to broccoli-compass '.' ?

from broccoli-compass.

thetutlage avatar thetutlage commented on July 17, 2024

yes that's my bad .. app.scss is a file.

This is how my Broccoli file looks like

var compileSass = require('broccoli-compass');
var compassTree = compileSass('app/styles',{
     outputStyle: 'expanded',
     sassDir: 'app/styles',
     cssDir: 'dist'
 });

from broccoli-compass.

g13013 avatar g13013 commented on July 17, 2024

Ok, i see where's the problem.

all the paths you specify in the options must be relative to the input tree content

var compileSass = require('broccoli-compass');
var compassTree = compileSass('app/styles',{
     outputStyle: 'expanded',
     sassDir: '.', // relatively to the input tree this is equivalent to  app/styles
     cssDir: '.'   // this will output css files in the root dir so when merged
                   // css files will be available directly under dist
 });

from broccoli-compass.

g13013 avatar g13013 commented on July 17, 2024

I close, if it persist reopen !

from broccoli-compass.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.