grunt-compass-multiple icon indicating copy to clipboard operation
grunt-compass-multiple copied to clipboard

sassDir, cssDir not working in options

Open blisst opened this issue 10 years ago • 0 comments

I have only been able to get grunt-compass-multiple to work if I supply the sassDir and cssDir options in compassMultiple.common.options, and not in compassMultiple.options.

Not sure which of these you need but I am running: compass v1.0.3 grunt -cli v0.1.13 grunt v0.4.5 ruby 2.1.5p273

Gruntfile configuration which does not compile:

compassMultiple: {
    options : {
        sassDir: skinDir + 'scss',
        cssDir: skinDir + 'css',
        environment: 'development',
        outputStyle: 'nested',
        importPath: 'some-path',
        relativeAssets: true,
        cacheDir: skinDir + 'scss/.sass-cache/',
      },
  }

Gruntfile configuration which would compile:

compassMultiple: {
    options : {
        environment: 'development',
        outputStyle: 'nested',
        importPath: 'some-path',
        relativeAssets: true,
        cacheDir: skinDir + 'scss/.sass-cache/',
      },
     common : {
            options: {
                sassDir: skinDir + 'scss',
                cssDir: skinDir + 'css'
            }
        }
  }

blisst avatar Feb 10 '15 02:02 blisst