2014-12-09 3 views
1

에는 4 개의 SCSS 파일이있는 폴더가 있으므로 정상적으로 하나만 컴파일하려고합니다. 다른 것은 SCSS 파일의 테마 버전입니다.SCSS 파일의 제한 개수

여기 내 나침반에 대한 불만스러운 부분이 있습니다. 아무도 내가 이것을 어떻게 달성 할 수 있는지 안다?

compass: { 
      build: { 
       options: { 
        sassDir: 'app/scss', 
        cssDir: 'build/css', 
        imagesDir: 'app/images', 
        outputStyle: 'compressed', //expanded or nested or compact or compressed 
        httpStylesheetsPath: '/', 
        raw: 'Sass::Script::Number.precision = 16\n', 
        noLineComments: true, 
        relativeAssets: true 
       } 
      } 
     }, 

답변

0

specify을 사용하십시오.

compass: { 
     build: { 
      options: { 
       sassDir: 'app/scss', 
       cssDir: 'build/css', 
       specify: 'build/css/file.scss' 
       imagesDir: 'app/images', 
       outputStyle: 'compressed', //expanded or nested or compact or compressed 
       httpStylesheetsPath: '/', 
       raw: 'Sass::Script::Number.precision = 16\n', 
       noLineComments: true, 
       relativeAssets: true 
      } 
     } 
    }, 
+0

다음 빌드와 같은 다른 작업을 수행 할 수 있습니까? Fx build, anotherBuild, 각각 별도의 옵션이 있습니다. 왜냐하면 내가 이것을 시도 할 때, 툴툴 거리는 소리가 나기 때문입니다. 나침반을 쓰면서도 – Johansrk