refactor: Use path alias

This commit is contained in:
syuilo
2021-03-23 17:43:07 +09:00
parent d6e23b803b
commit c74fe3c6e2
391 changed files with 557 additions and 557 deletions

View File

@ -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) {

View File

@ -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_;