1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 17:26:37 -04:00

shift asset processing to webpack (#424)

also migrated SASS to latest syntax (via dart-sass) and vastly simplified light/dark theme logic
This commit is contained in:
2021-06-19 17:19:01 -04:00
committed by GitHub
parent 622432c3e4
commit 363b4edf1c
105 changed files with 4061 additions and 955 deletions

View File

@ -1,4 +1,4 @@
/*! Copyright Twitter Inc. and other contributors. Licensed under MIT *//*
/* Copyright Twitter Inc. and other contributors. Licensed under MIT *//*
https://github.com/twitter/twemoji/blob/gh-pages/LICENSE
*/
@ -12,7 +12,7 @@
/////////////////////////
// default assets url, by default will be Twitter Inc. CDN
base: '/vendor/emoji/',
base: '/assets/emoji/',
// default assets file extensions, by default '.png'
ext: '.svg',
@ -265,7 +265,7 @@
* @return string the image source to use
*/
function defaultImageSrcGenerator(icon, options) {
return ''.concat(options.base, options.size, '/', icon, options.ext);
return ''.concat(options.base, icon, options.ext);
}
/**