Skip to content

Instantly share code, notes, and snippets.

@shirokuro331 shirokuro331/Grantfile.js
Last active Dec 14, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.