mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Update vite.config.js
This commit is contained in:
@@ -35,7 +35,6 @@ export default defineConfig({
|
|||||||
include: ['crypto', 'stream', 'util', 'buffer', 'events'],
|
include: ['crypto', 'stream', 'util', 'buffer', 'events'],
|
||||||
}),
|
}),
|
||||||
VitePWA({
|
VitePWA({
|
||||||
strategies: 'generateSW',
|
|
||||||
registerType: 'autoUpdate',
|
registerType: 'autoUpdate',
|
||||||
strategies: 'injectManifest',
|
strategies: 'injectManifest',
|
||||||
injectManifest: {
|
injectManifest: {
|
||||||
@@ -48,9 +47,6 @@ export default defineConfig({
|
|||||||
type: 'module',
|
type: 'module',
|
||||||
},
|
},
|
||||||
includeAssets: ['favicon.ico', 'robots.txt', 'apple-touch-icon.png'],
|
includeAssets: ['favicon.ico', 'robots.txt', 'apple-touch-icon.png'],
|
||||||
injectManifest: {
|
|
||||||
maximumFileSizeToCacheInBytes: 6000000,
|
|
||||||
},
|
|
||||||
manifest: {
|
manifest: {
|
||||||
name: 'plebchan',
|
name: 'plebchan',
|
||||||
short_name: 'plebchan',
|
short_name: 'plebchan',
|
||||||
|
|||||||
Reference in New Issue
Block a user