Comments (15)
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.
Compass version :- Compass 1.1.0.alpha.3 (Polaris)
Broccoli Compass version :- 0.2.3
And yes files are there
from broccoli-compass.
can you try with another compass version, maybe 1.0.0 ? I believe it's a compass issue expecting other parameters.
from broccoli-compass.
@thetutlage ping :)
from broccoli-compass.
No it is not compass issue , the same command on terminal works great.
from broccoli-compass.
Can you give me the structure of the input tree ?
from broccoli-compass.
is your problem solved ?
from broccoli-compass.
Can i know what was the problem ?
from broccoli-compass.
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.
Should not the sassDir be 'app.scss' instead of app/scss
?
from broccoli-compass.
it is app/styles
and app.scss is the file not directory ?
from broccoli-compass.
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.
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.
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.
I close, if it persist reopen !
from broccoli-compass.
Related Issues (19)
- Additional import paths option HOT 7
- Unable to get it to work, no specific error message HOT 13
- Support cache HOT 1
- Improve documentation for usage HOT 3
- CSS for generated sprites have image URLs containing paths of temporary tree folders HOT 15
- Problem with Ember CLI 0.39 HOT 3
- allow excludes to be configurable HOT 1
- consider more exclude defaults HOT 3
- @import "icons/*.png" fails HOT 10
- EMFILE error HOT 27
- whitelisting? HOT 4
- Worth complexity trying to re-use the same .sass-cache dir for different builds? HOT 3
- Unable to load extension compass-rails HOT 2
- Changing .sass-cache location HOT 6
- Performance Concerns HOT 10
- Compass to broccoli-compass HOT 3
- Ember cli addon
- Why all files are copied to destination folder? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broccoli-compass.