Skip to content

Instantly share code, notes, and snippets.

@shirokuro331
Last active December 14, 2015 12:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save shirokuro331/5090092 to your computer and use it in GitHub Desktop.
npm install grunt-contrib-sass
module.exports = function(grunt) {
grunt.initConfig({
sass: {
dist: {
files: {
'css/style.css': // コンパイル後のフォルダとファイル
[
'_scss/*.scss' // 元ファイル
]
}
}
}
});
// gruntタスクライブラリを読み込み
grunt.loadNpmTasks('grunt-contrib-sass');
// デフォルトで実行するタスク
grunt.registerTask('default', 'sass');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment