✌️
This commit is contained in:
parent
abd45ffebd
commit
56a3d654c6
8 changed files with 13 additions and 13 deletions
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
declare var self: ServiceWorkerGlobalScope;
|
||||
|
||||
import { swLang } from '@/lang';
|
||||
import { cli } from '@/operations';
|
||||
import { pushNotificationDataMap } from '@/types';
|
||||
import { swLang } from '@/scripts/lang';
|
||||
import { cli } from '@/scripts/operations';
|
||||
import { pushNotificationDataMap } from '@/scripts/types';
|
||||
import { getNoteSummary } from '@/scripts/get-note-summary';
|
||||
import getUserName from '@/scripts/get-user-name';
|
||||
import { I18n } from '@/scripts/i18n';
|
|
@ -1,8 +1,8 @@
|
|||
declare var self: ServiceWorkerGlobalScope;
|
||||
|
||||
import { get } from 'idb-keyval';
|
||||
import { pushNotificationDataMap } from '@/types';
|
||||
import { api } from '@/operations';
|
||||
import { pushNotificationDataMap } from '@/scripts/types';
|
||||
import { api } from '@/scripts/operations';
|
||||
|
||||
type Accounts = {
|
||||
[x: string]: {
|
|
@ -5,7 +5,7 @@
|
|||
declare var self: ServiceWorkerGlobalScope;
|
||||
|
||||
import * as Misskey from 'misskey-js';
|
||||
import { SwMessage, swMessageOrderType } from '@/types';
|
||||
import { SwMessage, swMessageOrderType } from '@/scripts/types';
|
||||
import { acct as getAcct } from '@/filters/user';
|
||||
import { getAccountFromId } from '@/scripts/get-account-from-id';
|
||||
import { getUrlWithLoginId } from '@/scripts/login-id';
|
|
@ -3,11 +3,11 @@
|
|||
*/
|
||||
declare var self: ServiceWorkerGlobalScope;
|
||||
|
||||
import { createEmptyNotification, createNotification } from '@/create-notification';
|
||||
import { swLang } from '@/lang';
|
||||
import { swNotificationRead } from '@/notification-read';
|
||||
import { pushNotificationDataMap } from '@/types';
|
||||
import * as swos from '@/operations';
|
||||
import { createEmptyNotification, createNotification } from '@/scripts/create-notification';
|
||||
import { swLang } from '@/scripts/lang';
|
||||
import { swNotificationRead } from '@/scripts/notification-read';
|
||||
import { pushNotificationDataMap } from '@/scripts/types';
|
||||
import * as swos from '@/scripts/operations';
|
||||
import { acct as getAcct } from '@/filters/user';
|
||||
|
||||
//#region Lifecycle: Install
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
},
|
||||
"compileOnSave": false,
|
||||
"include": [
|
||||
"./**/*.ts",
|
||||
"./**/*.vue"
|
||||
"./**/*.ts"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -34,6 +34,7 @@ const postcss = {
|
|||
};
|
||||
|
||||
module.exports = {
|
||||
target: 'webworker',
|
||||
entry: {
|
||||
sw: './src/sw.ts'
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue