diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-23 17:43:07 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-23 17:43:07 +0900 |
| commit | c74fe3c6e2aae3df4624b9b3a55b45293223ebf5 (patch) | |
| tree | 53ed8d31143b15b6621e59002006e318789e36a4 /src/client/sw | |
| parent | refactor: Tweak path alias of client (diff) | |
| download | misskey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.tar.gz misskey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.tar.bz2 misskey-c74fe3c6e2aae3df4624b9b3a55b45293223ebf5.zip | |
refactor: Use path alias
Diffstat (limited to 'src/client/sw')
| -rw-r--r-- | src/client/sw/compose-notification.ts | 4 | ||||
| -rw-r--r-- | src/client/sw/sw.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client/sw/compose-notification.ts b/src/client/sw/compose-notification.ts index e9586dd574..7ed0a95359 100644 --- a/src/client/sw/compose-notification.ts +++ b/src/client/sw/compose-notification.ts @@ -3,8 +3,8 @@ */ declare var self: ServiceWorkerGlobalScope; -import { getNoteSummary } from '../../misc/get-note-summary'; -import getUserName from '../../misc/get-user-name'; +import { getNoteSummary } from '@/misc/get-note-summary'; +import getUserName from '@/misc/get-user-name'; export default async function(type, data, i18n): Promise<[string, NotificationOptions] | null | undefined> { if (!i18n) { diff --git a/src/client/sw/sw.ts b/src/client/sw/sw.ts index 26b4efb053..5be4eb9770 100644 --- a/src/client/sw/sw.ts +++ b/src/client/sw/sw.ts @@ -5,7 +5,7 @@ declare var self: ServiceWorkerGlobalScope; import { get, set } from 'idb-keyval'; import composeNotification from '@client/sw/compose-notification'; -import { I18n } from '../../misc/i18n'; +import { I18n } from '@/misc/i18n'; //#region Variables const version = _VERSION_; |