設定前
2分かかってます。ひえー。
Gruntfile.js
styleguide: {
xxx: {
options: {
framework: {
name: 'styledocco'
}
},
files: {
// …
},
}
},
$ time grunt styleguide
Running "styleguide:dist" (styleguide) task
>> DEST: …
Done, without errors.
real 2m2.127s
user 1m59.839s
sys 0m2.192s
設定後
--no-minify
を設定する。
Gruntfile.js
styleguide: {
xxx: {
options: {
framework: {
name: 'styledocco',
options: {
'no-minify': true
}
}
},
files: {
// …
},
}
},
$ time grunt styleguide
Running "styleguide:xxx" (styleguide) task
>> DEST: …
Done, without errors.
real 0m2.688s
user 0m2.404s
sys 0m0.292s
2分かかっていたものが2秒で終わるようになりました。ゴイスー