refactor(frontend): use ESM
This commit is contained in:
parent
299c9c4118
commit
b0f6c44f36
459 changed files with 1643 additions and 1642 deletions
|
|
@ -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<Response> => fetch(...args) });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue