         .pipe $.if (({path}) -> not utils.prod and path.endsWith 'assets/index.html'),
             $.replace /(<script)\s+async/, '$1'
 
+        .pipe $.if (({path}) -> utils.prod and path.endsWith 'assets/index.html'),
+            $.replace /(<link rel="icon" href=")(.*)(">)/, '$1favicon.ico$3'
+
         .pipe gulp.dest utils.path.dst()
+
+
+
+
+
+
 
 
 

        bundle.write {
            format: 'umd'
            moduleName: 'engin'
            dest: utils.path.dst 'app/@shared/engin/index.umd.js'
        }



gulp.task 'test.engin', utils.list('bundle.engin'), ->

    gulp.src 'test/spec/**/*[sS]pec.{coffee,coffee.md,litcoffee,js}'
        .pipe $.jasmine()



gulp.task 'default', ['dev']










gulp.task 'build', utils.list 'assets css.vendor polyfills rollup.post'









gulp.task 'bundle.engine', utils.list('scripts'), ->

    $.rollup {
        entry: utils.path.dst 'app/@shared/engine/index.js'
    }

    .then (bundle) ->
