Function: minify()
- Exported from:
rolldown/utils - Type: (
filename:string,sourceText:string,options?:MinifyOptions|null) =>Promise<MinifyResult> - Experimental
Defined in: utils/minify.ts:35
Minify asynchronously.
Note: This function can be slower than minifySync due to the overhead of spawning a thread.
Parameters
filename
string
sourceText
string
options?
MinifyOptions | null
Returns
Promise<MinifyResult>