biome check --write
This commit is contained in:
parent
9262e803ec
commit
b05a501236
225 changed files with 1177 additions and 1266 deletions
10
src/sw.js
10
src/sw.js
|
|
@ -1,15 +1,15 @@
|
|||
/* eslint-env serviceworker */
|
||||
|
||||
import 'virtual:pleroma-fe/service_worker_env'
|
||||
import { storage } from 'src/lib/storage.js'
|
||||
import { parseNotification } from './services/entity_normalizer/entity_normalizer.service.js'
|
||||
import { prepareNotificationObject } from './services/notification_utils/notification_utils.js'
|
||||
import { shouldCache, cacheKey, emojiCacheKey } from './services/sw/sw.js'
|
||||
import { createI18n } from 'vue-i18n'
|
||||
// Collects all messages for service workers
|
||||
// Needed because service workers cannot use dynamic imports
|
||||
// See /build/sw_plugin.js for more information
|
||||
import messages from 'virtual:pleroma-fe/service_worker_messages'
|
||||
import { storage } from 'src/lib/storage.js'
|
||||
import { createI18n } from 'vue-i18n'
|
||||
import { parseNotification } from './services/entity_normalizer/entity_normalizer.service.js'
|
||||
import { prepareNotificationObject } from './services/notification_utils/notification_utils.js'
|
||||
import { cacheKey, emojiCacheKey, shouldCache } from './services/sw/sw.js'
|
||||
|
||||
const i18n = createI18n({
|
||||
// By default, use the browser locale, we will update it if neccessary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue