我尝试在Grunt上使用AWS插件将静态上传到S3,但我在文件密钥上遇到问题。我的控制台上有这个错误。任何的想法?谢谢!Warning: pattern.indexOf is not a function
aws_s3: {
options: {
accessKeyId: 'ID',
secretAccessKey: 'Key',
bucket: 'globalx',
region: 'us-east-1',
progress: 'progressBar',
},
files: [
{'action': 'upload', expand: true, cwd: 'css', src: ['style.css'], dest: 'app/styles/'}
]
},