1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-23 02:10:01 +01:00

switch CDN url

This commit is contained in:
Matthias Kretschmann 2016-04-10 18:27:06 +02:00
parent 67cddfcf1f
commit 32ef1c74c0
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC

View File

@ -49,7 +49,8 @@ var COMPATIBILITY = ['last 2 versions', 'ie >= 9'];
// paths
var SRC = '_src',
DIST = '_site',
CDN = 'https://cdn.kremalicious.com',
//CDN = 'https://cdn.kremalicious.com',
CDN = 'https://d2jlreog722xe2.cloudfront.net',
S3BUCKET = 'kremalicious.com',
S3PATH = '/',
S3REGION = 'eu-central-1';
@ -188,6 +189,7 @@ gulp.task('uncss', function () {
html: [DIST + '/**/*.html'],
ignore: [/\.has\S+\W+\S+/, /is-ready/, /animation-slideDown/, /animation-bounceOutUp/, /transition/, /gpuacceleration/, /hide/, /show/, /search-popover/, /search-results/, /search-link/, /tooltip/]
}))
.pipe($.cssmin())
.pipe(gulp.dest(DIST + '/assets/css'));
}
});
@ -401,7 +403,7 @@ gulp.task('build', function(done) {
'clean',
'jekyll',
['html', 'css', 'js', 'images', 'icons', 'fonts', 'media'],
'uncss',
//'uncss',
'rev',
'rev:replace',
done