Compare commits
No commits in common. "ca42669db2aefdf8002e37c639e63438ca3ed289" and "ec7a0c2e027d96e9d718614a4031375717129c35" have entirely different histories.
ca42669db2
...
ec7a0c2e02
4 changed files with 8 additions and 11 deletions
|
|
@ -102,12 +102,8 @@ export const buildSwPlugin = ({ swSrc, swDest }) => {
|
|||
},
|
||||
})
|
||||
|
||||
try {
|
||||
const swBundle = await build(config)
|
||||
return swBundle.output[0]
|
||||
} catch (e) {
|
||||
console.error('Error building ServiceWorker:' , e)
|
||||
}
|
||||
const swBundle = await build(config)
|
||||
return swBundle.output[0]
|
||||
},
|
||||
},
|
||||
closeBundle: {
|
||||
|
|
@ -116,11 +112,7 @@ export const buildSwPlugin = ({ swSrc, swDest }) => {
|
|||
async handler() {
|
||||
if (process.env.VITEST) return
|
||||
console.info('Building service worker for production')
|
||||
try {
|
||||
await build(config)
|
||||
} catch (e) {
|
||||
console.error('Error building ServiceWorker:' , e)
|
||||
}
|
||||
await build(config)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import FollowCard from 'src/components/follow_card/follow_card.vue'
|
||||
import apiService from '../../services/api/api.service.js'
|
||||
|
||||
import { useInstanceStore } from 'src/stores/instance.js'
|
||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
import { showDesktopNotification } from '../desktop_notification_utils/desktop_notification_utils.js'
|
||||
import { muteFilterHits } from '../status_parser/status_parser.js'
|
||||
|
||||
import { useAnnouncementsStore } from 'src/stores/announcements.js'
|
||||
|
||||
import FaviconService from 'src/services/favicon_service/favicon_service.js'
|
||||
|
||||
export const ACTIONABLE_NOTIFICATION_TYPES = new Set([
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
/* eslint-env serviceworker */
|
||||
|
||||
import 'virtual:pleroma-fe/service_worker_env'
|
||||
|
||||
import { createI18n } from 'vue-i18n'
|
||||
|
||||
import { storage } from 'src/lib/storage.js'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue