Я получаю ошибку jshint при запуске grunt
из командной строки.useminPrepare options свойство не определено
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.
В моей gruntfile у меня есть:
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'
},
Почему я получение не могу прочитать собственности 'Настройки' неопределенная ошибка?
Спасибо. Для меня такая же проблема :) – IgalSt