catstodon/app/javascript/flavours/glitch/common.js
Matt Jankowski 4c85fec993 [Glitch] Remove font-awesome npm package
Port 4c4bcad866 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-20 18:49:56 +02:00

11 lines
190 B
JavaScript

import Rails from '@rails/ujs';
export function start() {
require.context('@/images/', true, /\.(jpg|png|svg)$/);
try {
Rails.start();
} catch (e) {
// If called twice
}
}