mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-27 10:44:02 +08:00
chore: bump vite-plugin-pwa
This commit is contained in:
parent
95970e2330
commit
5960ef236d
1
auto-imports.d.ts
vendored
1
auto-imports.d.ts
vendored
@ -3,6 +3,7 @@
|
||||
// @ts-nocheck
|
||||
// noinspection JSUnusedGlobalSymbols
|
||||
// Generated by unplugin-auto-import
|
||||
// biome-ignore lint: disable
|
||||
export { }
|
||||
declare global {
|
||||
const $DEVCOMP: (typeof import('solid-js'))['$DEVCOMP']
|
||||
|
@ -69,9 +69,9 @@
|
||||
"unplugin-auto-import": "^0.18.3",
|
||||
"uuid": "^10.0.0",
|
||||
"vite": "^5.4.6",
|
||||
"vite-plugin-pwa": "^0.20.1",
|
||||
"vite-plugin-pwa": "^0.20.5",
|
||||
"vite-plugin-solid": "^2.10.2",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"packageManager": "pnpm@9.7.1"
|
||||
"packageManager": "pnpm@9.10.0"
|
||||
}
|
||||
|
5233
pnpm-lock.yaml
5233
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -7,11 +7,13 @@ export default defineConfig({
|
||||
base: './',
|
||||
build: { chunkSizeWarningLimit: 1000 },
|
||||
resolve: { alias: { '~': '/src' } },
|
||||
|
||||
define: {
|
||||
'import.meta.env.APP_VERSION': JSON.stringify(
|
||||
process.env.npm_package_version,
|
||||
),
|
||||
},
|
||||
|
||||
plugins: [
|
||||
solidPlugin(),
|
||||
|
||||
@ -23,6 +25,7 @@ export default defineConfig({
|
||||
VitePWA({
|
||||
registerType: 'autoUpdate',
|
||||
includeAssets: ['favicon.svg'],
|
||||
workbox: { maximumFileSizeToCacheInBytes: 5 * 1024 * 1024 },
|
||||
manifest: {
|
||||
icons: [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user