Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.19 KB

rules.md

File metadata and controls

29 lines (17 loc) · 1.19 KB

Public API

esbuild

esbuild(name, output_dir, splitting, config, kwargs)

esbuild helper macro around the esbuild_bundle rule

For a full list of attributes, see the esbuild_bundle rule

PARAMETERS

Name Description Default Value
name The name used for this rule and output files none
output_dir If True, produce an output directory False
splitting If True, produce a code split bundle in the output directory False
config an esbuild configuration file Can be a dictionary. In this case it is converted to json, and a config file is generated which exports the resulting object, e.g. export default {...} None
kwargs All other args from esbuild_bundle none