From e1aa15205522d4a998609881e6b2d4e7f7dcf047 Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Thu, 2 Aug 2018 02:14:31 +0200 Subject: [PATCH] [BUGFIX] Gulp html inject order --- gulp/tasks/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulp/tasks/html.js b/gulp/tasks/html.js index 9d7947d..5a1b405 100644 --- a/gulp/tasks/html.js +++ b/gulp/tasks/html.js @@ -20,6 +20,7 @@ var stringify = function (obj) { module.exports = function (gulp, plugins, config, env) { return function html() { return gulp.src(env.production() ? config.build + '/*.html' : 'html/*.html') + .pipe(env.production(plugins.kyhInlineSource({ compress: false }))) .pipe(plugins.realFavicon.injectFaviconMarkups(JSON.parse(fs.readFileSync(config.faviconData)).favicon.html_code)) .pipe(plugins.inject(gulp.src(['config.js']), { removeTags: true, @@ -46,7 +47,6 @@ module.exports = function (gulp, plugins, config, env) { return buildConfig.siteName; } })) - .pipe(env.production(plugins.kyhInlineSource({ compress: false }))) .pipe(plugins.cacheBust({ type: 'timestamp' }))