Webpack plugin for tevm. Enables Solidity imports in JavaScript.
Examples
For LSP support you must also configure tevm/ts-plugin in your tsconfig.json
Once the vite plugin and the ts-plugin are configured, you can import Solidity files in JavaScript. The compiler will
turn them into Tevm Contract instances.
Under the hood the vite plugin is creating a virtual file for ERC20.sol called ERC20.sol.cjs that looks like this
For custom configuration add a tevm.config.json file to your project root.