1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Rename emoji sheet to avoid caching issue (#7777)

This commit is contained in:
Renato "Lond" Cerqueira 2018-06-10 16:12:47 +02:00 committed by Eugen Rochko
parent 35ae960122
commit 268d90e810
3 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ const messages = defineMessages({
const assetHost = process.env.CDN_HOST || '';
let EmojiPicker, Emoji; // load asynchronously
const backgroundImageFn = () => `${assetHost}/emoji/sheet.png`;
const backgroundImageFn = () => `${assetHost}/emoji/sheet_10.png`;
const listenerOptions = detectPassiveEvents.hasSupport ? { passive: true } : false;
const categoriesSort = [

View file

@ -92,7 +92,7 @@ module.exports = merge(sharedConfig, {
},
externals: [
'/emoji/1f602.svg', // used for emoji picker dropdown
'/emoji/sheet.png', // used in emoji-mart
'/emoji/sheet_10.png', // used in emoji-mart
],
excludes: [
'**/*.gz',

View file

Before

Width:  |  Height:  |  Size: 839 KiB

After

Width:  |  Height:  |  Size: 839 KiB