我刚开始在编码过程中使用 Autoprefixer。我正在使用 grunt-autoprefixer。https://github.com/nDmitry/grunt-autoprefixer
在我的 gruntfile.js
sass: {
dist: {
options: {
sourcemap: true
},
files:{
'css/style.css': 'sass/style.scss'
}
}
},
autoprefixer: {
dist: {
options: {
map: true
},
files:{
'build/style.css': 'css/style.css'
}
}
},
源图被生成。但是,当我在 Chrome 中查看它时,它仍然显示 .css 而不是 .scss?
这里是源图。 https://drive.google.com/folderview?id=0B-PvLw2M9kBZZmRkMk9tekh6QWc&usp=sharing