mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 03:21:01 +00: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>
4 lines
145 B
JavaScript
4 lines
145 B
JavaScript
import './share.scss';
|
|
|
|
function requireAll(r) { r.keys().forEach(r); }
|
|
requireAll(require.context('./img/', true, /\.(jpg|png|gif|svg|ico)$/));
|