Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Bundler Methods and Exports

For application builds, use one of the plugin exports:

  • vitePluginTevm
  • rollupPluginTevm
  • esbuildPluginTevm
  • WebpackPluginTevm
  • RspackPluginTevm
  • bunPluginTevm

The main tevm/bundler entry point re-exports the public bundler packages. Dedicated subpaths are recommended because they make the host dependency and bundle boundary explicit.

Advanced packages are available at:

  • tevm/bundler/base-bundler
  • tevm/bundler/compiler
  • tevm/bundler/config
  • tevm/bundler/solc

Use their shipped TypeScript declarations as the rc.151 reference. Older helpers such as resolveImports, generateTevmBody, and generateTevmBodyDts are not public rc.151 exports.

See Bundler Quickstart for configurations that can be copied directly.