tets: {
src: [
'app/modules/test/js/test-app.js',
'app/modules/test/js/services/test-service.js',
'app/modules/test/js/controllers/test-enter-qty.js',
'app/modules/test/js/controllers/test-print-upc.js',
'app/modules/test/js/directives/test-print-upc.js'
],
dest: 'app/js/test.js'
}
我正在尝试连接,当我加载 concated 的 JS 时,模块本身根本无法工作。
无法在控制台中获取任何内容.log
尝试 - https://github.com/olov/ng-annotate
这个生成器有一些示例代码 - https://github.com/DaftMonk/generator-angular-fullstack/blob/master/app/templates/Gruntfile.js