Add vite lucide preprocessor
This commit is contained in:
3
bun.lock
3
bun.lock
@ -30,6 +30,7 @@
|
||||
"tauri-plugin-duck-api": "^0.1.1",
|
||||
"tauri-plugin-keep-screen-on-api": "^0.1.4",
|
||||
"typescript-eslint": "^8.34.1",
|
||||
"vite-plugin-lucide-preprocess": "^1.4.3",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@inlang/cli": "^3.0.0",
|
||||
@ -1048,6 +1049,8 @@
|
||||
|
||||
"vite": ["vite@6.3.5", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", "picomatch": "^4.0.2", "postcss": "^8.5.3", "rollup": "^4.34.9", "tinyglobby": "^0.2.13" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ=="],
|
||||
|
||||
"vite-plugin-lucide-preprocess": ["vite-plugin-lucide-preprocess@1.4.3", "", { "peerDependencies": { "vite": ">=5" } }, "sha512-4GnQbiN4Jj5a8zlyGAxWxdditAO5QGAmap0BRlzNPu0sky4nR/LCRpYRWwalBVWq8VF1a0GhbTuxtO86+ypYQg=="],
|
||||
|
||||
"vitefu": ["vitefu@1.0.6", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" }, "optionalPeers": ["vite"] }, "sha512-+Rex1GlappUyNN6UfwbVZne/9cYC4+R2XDk9xkNXBKMw6HQagdX9PgZ8V2v1WUSK1wfBLp7qbI1+XSNIlB1xmA=="],
|
||||
|
||||
"vt-pbf": ["vt-pbf@3.1.3", "", { "dependencies": { "@mapbox/point-geometry": "0.1.0", "@mapbox/vector-tile": "^1.3.1", "pbf": "^3.2.1" } }, "sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA=="],
|
||||
|
||||
@ -2,6 +2,8 @@
|
||||
"name": "librenav",
|
||||
"version": "0.0.0",
|
||||
"devDependencies": {
|
||||
"@inlang/cli": "^3.0.0",
|
||||
"@inlang/paraglide-js": "2.2.0",
|
||||
"@internationalized/date": "^3.8.1",
|
||||
"@lucide/svelte": "^0.515.0",
|
||||
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
||||
@ -25,9 +27,7 @@
|
||||
"tw-animate-css": "^1.3.2",
|
||||
"typescript": "^5.8.3",
|
||||
"vaul-svelte": "^1.0.0-next.7",
|
||||
"vite": "^6.3.5",
|
||||
"@inlang/paraglide-js": "2.2.0",
|
||||
"@inlang/cli": "^3.0.0"
|
||||
"vite": "^6.3.5"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
@ -65,6 +65,7 @@
|
||||
"svelte-maplibre-gl": "^0.1.8",
|
||||
"tauri-plugin-duck-api": "^0.1.1",
|
||||
"tauri-plugin-keep-screen-on-api": "^0.1.4",
|
||||
"typescript-eslint": "^8.34.1"
|
||||
"typescript-eslint": "^8.34.1",
|
||||
"vite-plugin-lucide-preprocess": "^1.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,11 +3,13 @@ import tailwindcss from "@tailwindcss/vite";
|
||||
import { defineConfig } from "vite";
|
||||
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
||||
import path from "path";
|
||||
import lucidePreprocess from "vite-plugin-lucide-preprocess";
|
||||
|
||||
const host = process.env.TAURI_DEV_HOST;
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
lucidePreprocess(),
|
||||
paraglideVitePlugin({
|
||||
project: "./project.inlang",
|
||||
outdir: "./src/paraglide",
|
||||
|
||||
Reference in New Issue
Block a user