minimal streamplace frontend
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

add vite dev server plugin for tree-shaking lucide

lowers the amount of requests in dev mode from 2k to ~80 (i was wondering why it was so slow to load lmao)

you can read more about what the plugin does on https://github.com/WarningImHack3r/vite-plugin-lucide-preprocess

authored by

Bas van den Wollenberg and committed by
Tangled
79a99e7d 722bf485

+23
+1
package.json
··· 29 29 "tailwindcss": "^4.2.2", 30 30 "typescript": "^5.9.3", 31 31 "vite": "^8.0.1", 32 + "vite-plugin-lucide-preprocess": "^1.4.8", 32 33 "vite-plugin-solid": "^2.11.11" 33 34 }, 34 35 "packageManager": "pnpm@10.32.1"
+20
pnpm-lock.yaml
··· 54 54 vite: 55 55 specifier: ^8.0.1 56 56 version: 8.0.3(@types/node@25.5.0)(jiti@2.6.1) 57 + vite-plugin-lucide-preprocess: 58 + specifier: ^1.4.8 59 + version: 1.4.8(vite@8.0.3(@types/node@25.5.0)(jiti@2.6.1)) 57 60 vite-plugin-solid: 58 61 specifier: ^2.11.11 59 62 version: 2.11.11(solid-js@1.9.12)(vite@8.0.3(@types/node@25.5.0)(jiti@2.6.1)) ··· 856 859 peerDependencies: 857 860 browserslist: '>= 4.21.0' 858 861 862 + vite-plugin-lucide-preprocess@1.4.8: 863 + resolution: {integrity: sha512-wIQ1fchys+WD/brwNjJTpy+GoHysPRDI7PFl4Qb6WNleifeC0fHGISMoyXdCjlcbx9wMMWOCPsZOygtk09mMfw==} 864 + peerDependencies: 865 + rolldown: '>=0.1' 866 + rollup: '>=1' 867 + vite: '>=2' 868 + peerDependenciesMeta: 869 + rolldown: 870 + optional: true 871 + rollup: 872 + optional: true 873 + 859 874 vite-plugin-solid@2.11.11: 860 875 resolution: {integrity: sha512-YMZCXsLw9kyuvQFEdwLP27fuTQJLmjNoHy90AOJnbRuJ6DwShUxKFo38gdFrWn9v11hnGicKCZEaeI/TFs6JKw==} 861 876 peerDependencies: ··· 1617 1632 browserslist: 4.28.1 1618 1633 escalade: 3.2.0 1619 1634 picocolors: 1.1.1 1635 + 1636 + vite-plugin-lucide-preprocess@1.4.8(vite@8.0.3(@types/node@25.5.0)(jiti@2.6.1)): 1637 + dependencies: 1638 + magic-string: 0.30.21 1639 + vite: 8.0.3(@types/node@25.5.0)(jiti@2.6.1) 1620 1640 1621 1641 vite-plugin-solid@2.11.11(solid-js@1.9.12)(vite@8.0.3(@types/node@25.5.0)(jiti@2.6.1)): 1622 1642 dependencies:
+2
vite.config.ts
··· 1 1 import tailwindcss from "@tailwindcss/vite"; 2 2 import { defineConfig } from "vite"; 3 + import lucidePreprocess from "vite-plugin-lucide-preprocess"; 3 4 import solidPlugin from "vite-plugin-solid"; 4 5 5 6 import metadata from "./public/oauth-client-metadata.json"; ··· 9 10 10 11 export default defineConfig({ 11 12 plugins: [ 13 + lucidePreprocess(), 12 14 tailwindcss(), 13 15 solidPlugin(), 14 16 {