VasiliySidorenko63
@VasiliySidorenko63

Koala не компилирует файл scss, где может быть ошибка?

691a00dd462f4cf6ab1bc1ec4fbc774b.jpg
// Sass project settings, you can edit it and set custom settings.
{
	// The mappings of source directory and output directory
	"mappings": [
		 {	
			"src": "sass/style.scss",
		 	"dest": "stylesheets/style.css"
		 }
	],

	// Add the ignore rules that Koala will not search them.
	// e.g. ["*.json", "*.txt", "test", "path/libs"]
	"ignores": ["*.css"],

	// Compile options of Sass.
	"options": {

		// Output style. Can be nested (default), compact, compressed, or expanded.
		"outputStyle": "nested",

		// Emit comments in the generated CSS indicating the corresponding source line.
		"lineComments": false,

		// Emit extra information in the generated CSS that can be used by the FireSass Firebug plugin.
		"debugInfo": false,

		// Create sourcemap files next to the generated CSS files
		"sourceMap": false,

		// Use Unix-style newlines in written files.
		"unixNewlines": false,

        // auto add vendor prefixes to rules
        "autoprefix": false
	},

	// Other compile options, use the full name of options.
	// e.g, ["--scss", ... ,"--no-cache"].
	// Run the command 'sass -h' to see more options.
	"customOptions": [],

	// An array of filesystem paths or importers which should be searched for Sass templates imported with the @import directive.
	"includePaths": ["--load-path sass/base.scss",
                        "--load-path sass/typography.scss",
                      "--load-path sass/grids.scss"],

	// A array of ruby libraries, require them before running Sass.
	"requireLibs": []
}
это настройки из проекта
  • Вопрос задан
  • 4132 просмотра
Решения вопроса 1
websanya
@websanya
Фронтенд разработчик, подкастер
Нужно использовать Sass 3.3+ и установить сам гем Susy, возможно Коала его не словит. Например Prepros нельзя заставить использвоать кастомный Sass (не тот, который в коробке) и соответственно использовать сторонние гемы, быть может в Коале такая же история.
Ответ написан
Комментировать
Пригласить эксперта
Ответы на вопрос 1
@Haoss
html-верстальщик
C:\Program Files (x86)\Koala\app\scripts\compilers файл SassCompiler
exec(command, {timeout: 10000, maxBuffer: 2000*1024}, function (error, stdout, stderr) {

тайм аут по умолчанию 5000
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы