compass: You must compile individual stylesheets from the project directory

前端 未结 6 2403
有刺的猬
有刺的猬 2020-12-29 05:36

A while ago I was using compass to generate stylesheets from sass for a project.

Recently I returned to that project. I went to my sass directory and did \"compass w

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-29 05:41

    I experienced the same problem using gulp-compass-compile. Fixed that by changing srcDir option (that converts to --sass-dir option in compass compile call) for compass function from ./src/scss to src/scss. Hope that helps someone.

提交回复
热议问题