From b0f6c44f36f3173f5d232d1adb02fc09dfdcc003 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 19 Sep 2023 16:37:43 +0900 Subject: refactor(frontend): use ESM --- packages/sw/src/scripts/operations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/sw/src/scripts/operations.ts') diff --git a/packages/sw/src/scripts/operations.ts b/packages/sw/src/scripts/operations.ts index a849505bc3..ca75e395c0 100644 --- a/packages/sw/src/scripts/operations.ts +++ b/packages/sw/src/scripts/operations.ts @@ -9,8 +9,8 @@ */ import * as Misskey from 'misskey-js'; import type { SwMessage, SwMessageOrderType } from '@/types'; -import { getAccountFromId } from '@/scripts/get-account-from-id'; -import { getUrlWithLoginId } from '@/scripts/login-id'; +import { getAccountFromId } from '@/scripts/get-account-from-id.js'; +import { getUrlWithLoginId } from '@/scripts/login-id.js'; export const cli = new Misskey.api.APIClient({ origin, fetch: (...args): Promise => fetch(...args) }); -- cgit v1.2.3-freya