[−][src]Crate esbuild_rs
Structs
BuildFuture | |
BuildOptions | |
BuildOptionsBuilder | |
BuildResult | |
Engine | |
Message | |
OutputFile | |
SliceContainer | |
StrContainer | |
TransformFuture | |
TransformOptions | |
TransformOptionsBuilder | |
TransformResult |
Enums
Charset | |
EngineName | |
Format | |
Loader | |
Platform | |
SourceMap | |
SourcesContent | |
Target | |
TreeShaking |
Functions
build | 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. |
transform | 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. |
transform_direct_unmanaged⚠ |