소스 검색

scaffolding: quickfix of grunt not compiling `fetch`

Herby Vojčík 5 년 전
부모
커밋
398f196d72
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      grunt-init-project/root/Gruntfile.js

+ 1 - 0
grunt-init-project/root/Gruntfile.js

@@ -74,6 +74,7 @@ module.exports = function (grunt) {
                     'src/{%= name %}-Tests.st' // list all tests in dependency order
                 ],
                 amd_namespace: '{%= namespace %}',
+                jsGlobals: ['fetch'], // code calling the backend needs this atm
                 libraries: ['amber/core/SUnit', 'amber/web/Web', 'silk/Silk']
             }
         },