mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
switch CDN url
This commit is contained in:
parent
67cddfcf1f
commit
32ef1c74c0
@ -49,7 +49,8 @@ var COMPATIBILITY = ['last 2 versions', 'ie >= 9'];
|
|||||||
// paths
|
// paths
|
||||||
var SRC = '_src',
|
var SRC = '_src',
|
||||||
DIST = '_site',
|
DIST = '_site',
|
||||||
CDN = 'https://cdn.kremalicious.com',
|
//CDN = 'https://cdn.kremalicious.com',
|
||||||
|
CDN = 'https://d2jlreog722xe2.cloudfront.net',
|
||||||
S3BUCKET = 'kremalicious.com',
|
S3BUCKET = 'kremalicious.com',
|
||||||
S3PATH = '/',
|
S3PATH = '/',
|
||||||
S3REGION = 'eu-central-1';
|
S3REGION = 'eu-central-1';
|
||||||
@ -188,6 +189,7 @@ gulp.task('uncss', function () {
|
|||||||
html: [DIST + '/**/*.html'],
|
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/]
|
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'));
|
.pipe(gulp.dest(DIST + '/assets/css'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -401,7 +403,7 @@ gulp.task('build', function(done) {
|
|||||||
'clean',
|
'clean',
|
||||||
'jekyll',
|
'jekyll',
|
||||||
['html', 'css', 'js', 'images', 'icons', 'fonts', 'media'],
|
['html', 'css', 'js', 'images', 'icons', 'fonts', 'media'],
|
||||||
'uncss',
|
//'uncss',
|
||||||
'rev',
|
'rev',
|
||||||
'rev:replace',
|
'rev:replace',
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user