If you’re using Vite.js with react and using the Dynamic SDK with Starknet, you may get a similar error to this one in your console:Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
starknet module exports.
Add resolve alias for starknet using vite.config.js
To fix this we must modify the vite.config.js file to add an alias for starknet. Here is a minimal example config: