Procházet zdrojové kódy

scaffolding: quickfix of grunt not compiling `fetch`

Herby Vojčík před 5 roky
rodič
revize
398f196d72
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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']
             }
         },