Moved back to ng1

Change-Id: I43b284e3b3cb3ac19d43c088de988c89a7ea8807
diff --git a/gulp_tasks/misc.js b/gulp_tasks/misc.js
index efd2cca..5197acb 100644
--- a/gulp_tasks/misc.js
+++ b/gulp_tasks/misc.js
@@ -3,7 +3,7 @@
 const gulp = require('gulp');
 const del = require('del');
 const filter = require('gulp-filter');
-const rename = require("gulp-rename");
+const rename = require('gulp-rename');
 
 const conf = require('../conf/gulp.conf');
 const cfgFolder = path.join(conf.paths.src, 'app/config');
@@ -14,17 +14,30 @@
 gulp.task('appConfig', appConfig);
 gulp.task('config', gulp.series('brand', 'appConfig'));
 
+console.log(process.env.NODE_ENV);
+
 function clean() {
   return del([conf.paths.dist, conf.paths.tmp]);
 }
 
+function other() {
+  const fileFilter = filter(file => file.stat.isFile());
+
+  return gulp.src([
+    path.join(conf.paths.src, '/**/*'),
+    path.join(`!${conf.paths.src}`, '/**/*.{scss,ts,html}')
+  ])
+    .pipe(fileFilter)
+    .pipe(gulp.dest(conf.paths.dist));
+}
+
 function appConfig() {
   const env = process.env.NODE_ENV || 'production';
   return gulp.src([
     path.join(conf.paths.appConfig, `app.config.${env}.ts`)
   ])
-  .pipe(rename('app.config.ts'))
-  .pipe(gulp.dest(cfgFolder));
+    .pipe(rename('app.config.ts'))
+    .pipe(gulp.dest(cfgFolder));
 }
 
 function styleConfig() {
@@ -32,8 +45,8 @@
   return gulp.src([
     path.join(conf.paths.appConfig, `style.config.${env}.ts`)
   ])
-  .pipe(rename('style.config.ts'))
-  .pipe(gulp.dest(cfgFolder));
+    .pipe(rename('style.config.ts'))
+    .pipe(gulp.dest(cfgFolder));
 }
 
 function other() {