[@solid-primitives/storage] error: Cannot resolve "@tauri-apps/plugin-store" from "node_modules/@solid-primitives/storage/dist/index.js" and externals are not allowed!
Describe the bug
After updating to the latest @solid-primitives/storage, a build error occurred in solid-start.
Minimal Reproduction Link
NO
Thanks for the information. I'll have a look.
I cannot reproduce this, unfortunately. Are you using solid-start inside a tauri-v2 app? In that case, you need to install @tauri-apps/plugin-store. Otherwise, there should be no issue.
I created a reproduction app, and I found that problems only occur when the vinxin preset is set to cloudflare-module.
Ah, it could be that the cloudflare present attempts to package even potential dependencies like this one. Not sure how to address this. @davedbase, @thetarnav any ideas? If not, we could move the tauri-related primitives to a storage/tauri subfolder so the main module can be included without referencing it, but I would like to not need this slightly inconvenient solution if possible.
I’m not a fan of any external dependencies too be honest, but if they are necessary a submodule sounds good, they need to be separated.
Here we go: https://github.com/solidjs-community/solid-primitives/pull/621