summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/extract-url-from-mfm.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-09-19 16:37:43 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-09-19 16:37:43 +0900
commitb0f6c44f36f3173f5d232d1adb02fc09dfdcc003 (patch)
tree5ba44e4bdd60bf8dc4d63c4c9bf6b8ba358c51a9 /packages/frontend/src/scripts/extract-url-from-mfm.ts
parentfeat(frontend): 任意のユーザーリストをタイムラインページ... (diff)
downloadsharkey-b0f6c44f36f3173f5d232d1adb02fc09dfdcc003.tar.gz
sharkey-b0f6c44f36f3173f5d232d1adb02fc09dfdcc003.tar.bz2
sharkey-b0f6c44f36f3173f5d232d1adb02fc09dfdcc003.zip
refactor(frontend): use ESM
Diffstat (limited to 'packages/frontend/src/scripts/extract-url-from-mfm.ts')
-rw-r--r--packages/frontend/src/scripts/extract-url-from-mfm.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/scripts/extract-url-from-mfm.ts b/packages/frontend/src/scripts/extract-url-from-mfm.ts
index e72de784f8..c1ed9338f8 100644
--- a/packages/frontend/src/scripts/extract-url-from-mfm.ts
+++ b/packages/frontend/src/scripts/extract-url-from-mfm.ts
@@ -4,7 +4,7 @@
*/
import * as mfm from 'mfm-js';
-import { unique } from '@/scripts/array';
+import { unique } from '@/scripts/array.js';
// unique without hash
// [ http://a/#1, http://a/#2, http://b/#3 ] => [ http://a/#1, http://b/#3 ]