[Glitch] Dont use CommonJS (require, module.exports) anywhere

Port 955179fc55 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Renaud Chaput authored and Claire committed 2023-05-09 22:28:53 +02:00
1 parent c81d1b0d38
commit 108720d7b0
15 files changed
+49 -37

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
import 'packs/public-path';
import escapeTextContentForBrowser from 'escape-html';
const { delegate } = require('@rails/ujs');
import { delegate } from '@rails/ujs';
import emojify from '../mastodon/features/emoji/emoji';