Rename emoji sheet to avoid caching issue (#7777)

master
Renato "Lond" Cerqueira 7 years ago committed by Eugen Rochko
parent 35ae960122
commit 268d90e810
  1. 2
      app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
  2. 2
      config/webpack/production.js
  3. 0
      public/emoji/sheet_10.png

@ -28,7 +28,7 @@ const messages = defineMessages({
const assetHost = process.env.CDN_HOST || ''; const assetHost = process.env.CDN_HOST || '';
let EmojiPicker, Emoji; // load asynchronously 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 listenerOptions = detectPassiveEvents.hasSupport ? { passive: true } : false;
const categoriesSort = [ const categoriesSort = [

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

Before

Width:  |  Height:  |  Size: 839 KiB

After

Width:  |  Height:  |  Size: 839 KiB

Loading…
Cancel
Save