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