Przeglądaj źródła

Fixed ngmin build issue introduced in route refactoring, Fixes #622

Torkel Ödegaard 11 lat temu
rodzic
commit
77e5e75b2f
2 zmienionych plików z 11 dodań i 2 usunięć
  1. 9 1
      tasks/options/connect.js
  2. 2 1
      tasks/options/ngmin.js

+ 9 - 1
tasks/options/connect.js

@@ -8,5 +8,13 @@ module.exports = function(config) {
         keepalive: true
       }
     },
+    dist: {
+      options: {
+        port: 5605,
+        hostname: '*',
+        base: config.destDir,
+        keepalive: true
+      }
+    },
   }
-};
+};

+ 2 - 1
tasks/options/ngmin.js

@@ -9,6 +9,7 @@ module.exports = function(config) {
         'app/services/**/*.js',
         'app/filters/**/*.js',
         'app/panels/**/*.js',
+        'app/routes/**/*.js',
         'app/app.js',
         'vendor/angular/**/*.js',
         'vendor/elasticjs/elastic-angular-client.js'
@@ -16,4 +17,4 @@ module.exports = function(config) {
       dest: '<%= tempDir %>'
     }
   };
-};
+};