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: