mirror of https://github.com/halo-dev/halo
Remove vite-plugin-pwa from dev dependencies (#7762)
parent
6bc81a9866
commit
b1127e3c28
|
@ -169,7 +169,6 @@
|
||||||
"vite-plugin-dts": "^4.5.4",
|
"vite-plugin-dts": "^4.5.4",
|
||||||
"vite-plugin-externals": "^0.6.2",
|
"vite-plugin-externals": "^0.6.2",
|
||||||
"vite-plugin-html": "^3.2.2",
|
"vite-plugin-html": "^3.2.2",
|
||||||
"vite-plugin-pwa": "^0.20.0",
|
|
||||||
"vite-plugin-static-copy": "^1.0.6",
|
"vite-plugin-static-copy": "^1.0.6",
|
||||||
"vitest": "^3.2.4",
|
"vitest": "^3.2.4",
|
||||||
"vue-tsc": "^2.2.10"
|
"vue-tsc": "^2.2.10"
|
||||||
|
|
2020
ui/pnpm-lock.yaml
2020
ui/pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -6,7 +6,6 @@ import GzipPlugin from "rollup-plugin-gzip";
|
||||||
import Icons from "unplugin-icons/vite";
|
import Icons from "unplugin-icons/vite";
|
||||||
import { fileURLToPath } from "url";
|
import { fileURLToPath } from "url";
|
||||||
import { defineConfig, type Plugin } from "vite";
|
import { defineConfig, type Plugin } from "vite";
|
||||||
import { VitePWA } from "vite-plugin-pwa";
|
|
||||||
import { setupLibraryExternal } from "./library-external";
|
import { setupLibraryExternal } from "./library-external";
|
||||||
|
|
||||||
interface Options {
|
interface Options {
|
||||||
|
@ -34,15 +33,6 @@ export const sharedPlugins = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
VitePWA({
|
|
||||||
manifest: {
|
|
||||||
name: "Halo",
|
|
||||||
short_name: "Halo",
|
|
||||||
description: "Web Client For Halo",
|
|
||||||
theme_color: "#fff",
|
|
||||||
},
|
|
||||||
disable: true,
|
|
||||||
}),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export function createViteConfig(options: Options) {
|
export function createViteConfig(options: Options) {
|
||||||
|
|
Loading…
Reference in New Issue