Browse Source

Gruntfile: Another fix of amber/Platform.

Herbert Vojčík 9 years ago
parent
commit
78e100d99c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      root/Gruntfile.js

+ 4 - 4
root/Gruntfile.js

@@ -51,8 +51,8 @@ module.exports = function (grunt) {
                 options: {
                     mainConfigFile: "config.js",
                     rawText: {
-                        "amber/Platform": 'define(["amber_core/Platform-Browser"],{});',
-                        "app": 'define(["deploy"],function(x){return x});'
+                        "amber/Platform": '/*stub*/',
+                        "app": 'define(["deploy"],function(x){return x});define("amber/Platform",["amber_core/Platform-Browser"],{});'
                     },
                     pragmas: {
                         excludeIdeData: true,
@@ -66,8 +66,8 @@ module.exports = function (grunt) {
                 options: {
                     mainConfigFile: "config.js",
                     rawText: {
-                        "amber/Platform": 'define(["amber_core/Platform-Browser"],{});',
-                        "app": 'define(["devel"],function(x){return x});'
+                        "amber/Platform": '/*stub*/',
+                        "app": 'define(["devel"],function(x){return x});define("amber/Platform",["amber_core/Platform-Browser"],{});'
                     },
                     include: ['config', 'node_modules/requirejs/require', 'app'],
                     exclude: ['devel'],