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