]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/Resources/static/themes/_global/share.js
webpack: handle _global img folder
[github/wallabag/wallabag.git] / app / Resources / static / themes / _global / share.js
index d707861656539b3b650a2e3332dc7d4b6a31fa92..15206b374bc383940226de8cfb43dd2f573eb9ea 100644 (file)
@@ -1 +1,4 @@
 import './share.scss';
+
+function requireAll(r) { r.keys().forEach(r); }
+requireAll(require.context('./img/', true, /\.(jpg|png|gif|svg|ico)$/));