chore: remove useless code

This commit is contained in:
Vben
2021-02-25 20:17:08 +08:00
parent 5ffac40935
commit 8a9ca498d7
34 changed files with 234 additions and 308 deletions

View File

@@ -2,11 +2,10 @@
* Zero-config PWA for Vite
* https://github.com/antfu/vite-plugin-pwa
*/
import type { ViteEnv } from '../../utils';
import { VitePWA } from 'vite-plugin-pwa';
import { ViteEnv } from '../../utils';
export function configPwaConfig(env: ViteEnv) {
const { VITE_USE_PWA, VITE_GLOB_APP_TITLE, VITE_GLOB_APP_SHORT_NAME } = env;