appleboy / appleboy/gulp-compass

Can't make it work via config.rb

Open
#147 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
172
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Getting that dreaded `Individual stylesheets must be in sass dir` error. I can make it work without `config.rb`, but for obvious reasons, prefer to use the configuration file.

`config.rb`:
```
project_path = 'demo'
sass_dir = 'sass'
css_dir = 'css'
```

File-system:
```
./demo/sass
./demo/css
```

Gulp-compass config:
```
compass({
config_file: 'config.rb'
}
```

I don't pass Sass/Css since the defaults are what I use anyway.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error using the shown config.rb, demo/sass and demo/css directories, and the gulp-compass config_file setting. Start by tracing how config_file is resolved and how project_path, sass_dir, and css_dir are interpreted; done means the configuration works without the “Individual stylesheets must be in sass dir” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, sass
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.