From 7a6eaad445ca009001a31657d163b0316b27e9e4 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Mon, 5 Mar 2018 04:27:40 +0900 Subject: 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(-) (limited to 'app') diff --git a/app/javascript/packs/about.js b/app/javascript/packs/about.js index 50c81198e..63e12da42 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 51e4ae38b..e9580f648 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'); -- cgit