grunt
コマンド ラインから実行すると jshint エラーが発生します。
Running "useminPrepare:html" (useminPrepare) task
Going through public/index.html to update the config
Looking for build script HTML comment blocks
Warning: An error occurred while processing a template (Cannot read property 'options' of undefined). Use --force to continue.
Aborted due to warnings.
私のグラントファイルには次のものがあります。
useminPrepare: {
html: '<%= yeoman.app %>/index.html',
options: {
dest: '<%= yeoman.dist %>'
}
},
また、yeoman.dist は grunt.initConfig で定義されています。
yeoman: {
// configurable paths
app: require('./bower.json').appPath || 'public',
dist: 'dist'
},
Cannot read property 'options' of undefined エラーが発生するのはなぜですか?