Bundler Overview
The Tevm bundler turns a Solidity import into a typed JavaScript module during a normal application build.
Pipeline
- A plugin sees a
.solor.s.solimport. - Tevm resolves Solidity imports and remappings.
- solc compiles the dependency graph.
- Tevm converts the selected contract output into a contract module.
- The host bundler includes the generated JavaScript and TypeScript types.
The emitted contract object contains the ABI, optional bytecode and deployed bytecode, type-safe read and write action creators, event helpers, and withAddress.
Plugin Entry Points
| Bundler | Entry point | Export |
|---|---|---|
| Vite | tevm/bundler/vite-plugin | vitePluginTevm |
| Rollup | tevm/bundler/rollup-plugin | rollupPluginTevm |
| esbuild | tevm/bundler/esbuild-plugin | esbuildPluginTevm |
| Webpack | tevm/bundler/webpack-plugin | WebpackPluginTevm |
| rspack | tevm/bundler/rspack-plugin | RspackPluginTevm |
| Bun | tevm/bundler/bun-plugin | bunPluginTevm |
See the quickstart for executable configuration examples.
Runtime Independence
Generated contracts are compatible with viem-style contract calls. They can be used with a MemoryClient, a remote viem client, or any integration that accepts the generated action parameters.
The rc.151 package does not export the proposed inline sol template tag or a loadContract address loader.

