首页
Python
Java
PHP
IOS
NodeJS
JavaScript
HTML5
小程序
AI
ngAnnotate
全部标签
javascript - ngAnnotate - 警告 : StringMap expected string key
我在使用Grunt和grunt-ng-annotate时收到此警告。警告中没有提到错误在文件中的位置,这使得调试变得困难。有什么想法吗? 最佳答案 问题原来是使用ES6符号,在本例中是箭头函数(=>)、默认参数和let。我没有详细了解为什么ngAnnotate不支持这个。为了找到问题出在哪里,我用gruntswitch--force覆盖了ngAnnotate警告,后来在构建uglify中提示了ES6语法的更多细节。 关于javascript-ngAnnotate-警告:StringMap
javascript
ngAnnotate
section
strong
ecmascript-6
gruntjs
uglifyjs
ng-annotate
Home
Powered By JJZJJ.COM
页面耗时:0.0802s