Browse Source

scaffolding: Leave out helios/index from deploy.

(it is included because deep nesting)
Herby Vojčík 5 years ago
parent
commit
f416aa6ff1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      grunt-init-project/root/Gruntfile.js

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

@@ -60,6 +60,7 @@ module.exports = function (grunt) {
                 options: {
                     mainConfigFile: "config.js",
                     rawText: {
+                        "helios/index": "",
                         "app": '(' + polyfillThenPromiseApp + '());',
                         "__app__": 'define(["deploy", "amber/core/Platform-Browser"],function(x){return x});'
                     },
@@ -69,6 +70,7 @@ module.exports = function (grunt) {
                     },
                     include: ['config', 'node_modules/requirejs/require', 'app'],
                     findNestedDependencies: true,
+                    exclude: ['helios/index'],
                     optimize: "uglify2",
                     out: "the.js"
                 }