pre-optimize some deps

This commit is contained in:
Paul Miller
2023-04-26 17:39:38 -05:00
parent eed0efb306
commit b006c7423b
3 changed files with 155 additions and 205 deletions

View File

@@ -32,10 +32,8 @@
"@kobalte/core": "^0.8.2",
"@kobalte/tailwindcss": "^0.5.0",
"@modular-forms/solid": "^0.12.0",
"@motionone/solid": "^10.16.0",
"@mutinywallet/mutiny-wasm": "^0.2.7",
"@mutinywallet/waila-wasm": "^0.1.5",
"@nostr-dev-kit/ndk": "^0.0.13",
"@solidjs/meta": "^0.28.4",
"@solidjs/router": "^0.8.2",
"@thisbeyond/solid-select": "^0.14.0",

355
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -51,8 +51,9 @@ export default defineConfig({
alias: [{ find: '~', replacement: path.resolve(__dirname, './src') }]
},
optimizeDeps: {
// Don't want vite to bundle these late during dev causing reload
include: ["qr-scanner", "nostr-tools", "class-variance-authority"],
// This is necessary because otherwise `vite dev` can't find the wasm
exclude: ["@mutinywallet/mutiny-wasm", "@mutinywallet/waila-wasm"],
},
});