From 48af5046516b49d50ca10b6e2e0fddeedcc7e33c Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Mon, 5 Mar 2018 04:27:40 +0900 Subject: [PATCH] Do not require images in about.js and share.js (#6622) They are already required by common.js. --- app/javascript/packs/about.js | 2 -- app/javascript/packs/share.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/app/javascript/packs/about.js b/app/javascript/packs/about.js index 50c81198e3..63e12da42c 100644 --- a/app/javascript/packs/about.js +++ b/app/javascript/packs/about.js @@ -1,7 +1,5 @@ import loadPolyfills from '../mastodon/load_polyfills'; -require.context('../images/', true); - function loaded() { const TimelineContainer = require('../mastodon/containers/timeline_container').default; const React = require('react'); diff --git a/app/javascript/packs/share.js b/app/javascript/packs/share.js index 51e4ae38b8..e9580f648b 100644 --- a/app/javascript/packs/share.js +++ b/app/javascript/packs/share.js @@ -1,7 +1,5 @@ import loadPolyfills from '../mastodon/load_polyfills'; -require.context('../images/', true); - function loaded() { const ComposeContainer = require('../mastodon/containers/compose_container').default; const React = require('react');