Skip to content

Commit 14b5c9c

Browse files
committed
chore: remove unplugin-favicons, add pwa-asset-generator under the root folder
1 parent b5a81ee commit 14b5c9c

File tree

4 files changed

+813
-442
lines changed

4 files changed

+813
-442
lines changed

apps/frontend/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"react-dom": "^19.1.0"
3535
},
3636
"devDependencies": {
37-
"@anolilab/unplugin-favicons": "^1.0.5",
3837
"@tanstack/router-devtools": "^1.114.31",
3938
"@tanstack/router-plugin": "^1.114.31",
4039
"@testing-library/jest-dom": "^6.6.3",

apps/frontend/vite.config.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { defineConfig } from "vite";
22
import react from "@vitejs/plugin-react";
33
import { TanStackRouterVite } from "@tanstack/router-plugin/vite";
4-
import unpluginFavicons from "@anolilab/unplugin-favicons/vite";
4+
// import unpluginFavicons from "@anolilab/unplugin-favicons/vite";
55

66
// https://vitejs.dev/config/
77
export default defineConfig({
@@ -15,22 +15,22 @@ export default defineConfig({
1515
plugins: [
1616
react(),
1717
TanStackRouterVite({ quoteStyle: "double", semicolons: true }),
18-
unpluginFavicons({
19-
logo: "./public/logo.svg",
20-
inject: true,
21-
appName: "LEMON",
22-
appShortName: "LEMON",
23-
favicons: {
24-
theme_color: "#FFC845",
25-
icons: {
26-
android: true,
27-
appleIcon: true,
28-
favicons: true,
29-
windows: true,
30-
yandex: true,
31-
appleStartup: false,
32-
},
33-
},
34-
}),
18+
// unpluginFavicons({
19+
// logo: "./public/logo.svg",
20+
// inject: true,
21+
// appName: "LEMON",
22+
// appShortName: "LEMON",
23+
// favicons: {
24+
// theme_color: "#FFC845",
25+
// icons: {
26+
// android: true,
27+
// appleIcon: true,
28+
// favicons: true,
29+
// windows: true,
30+
// yandex: true,
31+
// appleStartup: false,
32+
// },
33+
// },
34+
// }),
3535
],
3636
});

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"nx": "^20.7.0",
3636
"prettier": "^3.5.3",
3737
"prettier-plugin-astro": "^0.14.1",
38+
"pwa-asset-generator": "^8.0.4",
3839
"typescript-eslint": "^8.29.0"
3940
},
4041
"engines": {

0 commit comments

Comments
 (0)