私は、yeoman angular-generator によって生成された grunt ファイルを使用しています。更新するために bower-install が必要な複数のファイルがあり、bower-install 構成は次のようになりました
// Automatically inject Bower components into the app
'bower-install': {
app: {
html: '<%= yeoman.app %>/index.html',
ignorePath: '<%= yeoman.app %>/'
}
},
使ってみた
html: ['<%= yeoman.app %>/index.html','<%= yeoman.app %>/manager.html']
を実行するgrunt bower-install
と、次のエラーが発生しました
Running "bower-install:app" (bower-install) task
Warning: path must be a string Use --force to continue.
Aborted due to warnings.
bower-install プラグインのバージョンは
"grunt-bower-install": "~0.7.0",
私の質問は、このバージョンは複数の html ファイルの更新をサポートしていますか? はいの場合、どのように?