Surveillance capitalism added back

This commit is contained in:
banaanihillo@protonmail.ch 2024-04-20 11:54:18 +03:00
parent 7fd5f11898
commit 1ca946ad90

View file

@ -2,51 +2,51 @@ import { fileURLToPath, URL } from 'url';
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
// import { VitePWA } from 'vite-plugin-pwa';
import { VitePWA } from 'vite-plugin-pwa';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
// VitePWA({
// registerType: 'autoUpdate',
// workbox: {
// globPatterns: [
// '**/*.{css,html,png,svg,woff,woff2}',
// 'manifest.webmanifest',
// '**/index*.js',
// '**/shaka*.js',
// '**/[A-Z]*.js',
// ],
// },
// manifest: {
// name: 'Hyperpipe',
// short_name: 'Hyperpipe',
// start_url: '/',
// display: 'standalone',
// background_color: '#000',
// theme_color: '#000',
// description: 'Privacy respecting YouTube Music Frontend.',
// icons: [
// {
// src: '/android-chrome-192x192.png',
// sizes: '192x192',
// type: 'image/png',
// },
// {
// src: '/android-chrome-512x512.png',
// sizes: '512x512',
// type: 'image/png',
// },
// {
// src: '/android-maskable.png',
// sizes: '1024x1024',
// type: 'image/png',
// purpose: 'maskable',
// },
// ],
// },
// }),
VitePWA({
registerType: 'autoUpdate',
workbox: {
globPatterns: [
'**/*.{css,html,png,svg,woff,woff2}',
'manifest.webmanifest',
'**/index*.js',
'**/shaka*.js',
'**/[A-Z]*.js',
],
},
manifest: {
name: 'Hyperpipe',
short_name: 'Hyperpipe',
start_url: '/',
display: 'standalone',
background_color: '#000',
theme_color: '#000',
description: 'Privacy respecting YouTube Music Frontend.',
icons: [
{
src: '/android-chrome-192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: '/android-chrome-512x512.png',
sizes: '512x512',
type: 'image/png',
},
{
src: '/android-maskable.png',
sizes: '1024x1024',
type: 'image/png',
purpose: 'maskable',
},
],
},
}),
],
resolve: {
alias: {