SilentRhetoric
Vinxi server build fails: Big integer literals not available in target environment ("es2019")
Hey! I never saw this until now! Should'a tagged me!
Thank you SO much for this! It immediately solved my problem. I had the config elsewhere instead of under
server:
, and so it was not having any effect on the server build 🤦♂️.
I was pulling my hair out trying to troubleshoot this... 😅4 replies
Creating Package - Need Bundling Help
@thetarnav Also, please feel free to let me know if this is beyond what is reasonable to ask for help with.
I just know that bundler stuff has given me more gray hairs than anything else, and I’ve never published a browser package before, so I’m just trying to read stuff online and try random config setting & plugins. But I’m spiraling and lost 😅
I just know that bundler stuff has given me more gray hairs than anything else, and I’ve never published a browser package before, so I’m just trying to read stuff online and try random config setting & plugins. But I’m spiraling and lost 😅
14 replies
Creating Package - Need Bundling Help
OK, I have made the repo public now
https://github.com/SilentRhetoric/solid-algo-wallets
The package code is in src
The demo app that produces the error is in dev
Use the
build+pack
script to build with tsup
and pack the lib into a tarball with npm pack
The demo app imports the lib from a file path in package.json
Let me know if this enables you to see the issue
🙏14 replies
Creating Package - Need Bundling Help
Hey, thanks for reaching out. I am using a primitive or two and have never encountered any issues with them. But the libs I am trying to integrate in my lib are not as simple and elegant as the Primitives!
I will tidy up the repo and demo site for my lib and share it so you can see, probably later this week. It is not particularly complex, so I think it will be easy to see what’s happening.
14 replies
Why is storageSignal possibly null?
Thank you! I guess the pop-up tooltip in VSCode didn’t show me the same view because I was trying to override the Accessor to only return T and never null
I ended up making an adapter function to handle the null
15 replies