mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 18:59:35 +01:00
7a1e1247cb
Fixes missing image files after composer cleaning assets Source of requireAll(): https://stackoverflow.com/a/30652110 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
5 lines
145 B
JavaScript
5 lines
145 B
JavaScript
import './share.scss';
|
|
|
|
function requireAll(r) { r.keys().forEach(r); }
|
|
requireAll(require.context('./img/', true, /\.(jpg|png|gif|svg|ico)$/));
|