我使用 libass 和 susy,使用 grunt 和 compass-importer。我的项目安装的基础来自 http://zellwk.com/blog/grunt-sass-with-susy/
在我更新文件之前一切正常,现在源映射不再给我来自 scss 文件的确切属性行。该示例在印刷品上。
不是 sourmap 将我指向第 941 行,而是将我指向第 935 行
我的 grunt 文件配置如下:
// Grunt-sass
sass: {
app: {
// Takes every file that ends with .scss from the scss
// directory and compile them into the css directory.
// Also changes the extension from .scss into .css.
// Note: file name that begins with _ are ignored automatically
files: [{
expand: true,
cwd: 'scss',
src: ['*.scss'],
dest: 'css',
ext: '.css'
}]
},
options: {
importer: compass,
sourceMap: true,
outputStyle: 'nested',
imagePath: "../",
}