Crate esbuild_rs[][src]

Structs

Enums

Functions

Future wrapper for build_direct.

This function runs an end-to-end build operation. It takes an array of file paths as entry points, parses them and all of their dependencies, and returns the output files to write to the file system. The available options roughly correspond to esbuild’s command-line flags.

Future wrapper for transform_direct.

This function transforms a string of source code into JavaScript. It can be used to minify JavaScript, convert TypeScript/JSX to JavaScript, or convert newer JavaScript to older JavaScript. The available options roughly correspond to esbuild’s command-line flags.