Skip to content
Snippets Groups Projects
Unverified Commit e1aa1520 authored by Xaver Maierhofer's avatar Xaver Maierhofer
Browse files

[BUGFIX] Gulp html inject order

parent d29bb313
No related branches found
No related tags found
No related merge requests found
......@@ -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'
}))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment