/**
 *  Compass task config
 */

exports.task = function () {
  return {
    dist: {
      options: {
        importPath: [
          'tmp/sass/cartoassets'
        ],
        sassDir: 'tmp/sass/editor',
        cssDir: '<%= assets_dir %>/stylesheets',
        fontsDir: '<%= assets_dir %>/fonts',
        httpFontsPath: '<%= env.http_path_prefix %>/assets/<%= pkg.version %>/fonts',

        imagesDir: 'app/assets/images/',
        generatedImagesDir: '<%= assets_dir %>/images/',
        httpImagesPath: '<%= env.http_path_prefix %>/assets/<%= pkg.version %>/images/',
        httpGeneratedImagesPath: '<%= env.http_path_prefix %>/assets/<%= pkg.version %>/images/',

        environment: 'production',
        outputStyle: 'compressed',
        noLineComments: true,
        force: false,
        time: true
      }
    }
  };
};

/**
 *  Compass task config
 */

exports.task = function () {
  return {
    dist: {
      options: {
        importPath: [
          'tmp/sass/cartoassets'
        ],
        sassDir: 'tmp/sass/editor',
        cssDir: '<%= assets_dir %>/stylesheets',
        fontsDir: '<%= assets_dir %>/fonts',
        httpFontsPath: '<%= env.http_path_prefix %>/assets/<%= pkg.version %>/fonts',

        imagesDir: 'app/assets/images/',
        generatedImagesDir: '<%= assets_dir %>/images/',
        httpImagesPath: '<%= env.http_path_prefix %>/assets/<%= pkg.version %>/images/',
        httpGeneratedImagesPath: '<%= env.http_path_prefix %>/assets/<%= pkg.version %>/images/',

        environment: 'production',
        outputStyle: 'compressed',
        noLineComments: true,
        force: false,
        time: true,
        raw: 'Encoding.default_external = \'utf-8\'\n'
      }
    }
  };
};

Fix issue with Sass encoding
Fix issue with Sass encoding

Sass::SyntaxError on line LINE of FILE: Invalid US-ASCII character CHAR
