Skip to main content
Version: 2.23 (prerelease)

node_build_script

def node_build_script(entry_point: 'str', output_directories: 'Iterable[str]' = (), output_files: 'Iterable[str]' = (), extra_caches: 'Iterable[str]' = (), extra_env_vars: 'Iterable[str]' = ()) -> 'NodeBuildScript': ...

A build script, mapped from the scripts section of a package.json file.

Either the output_directories or the output_files argument has to be set to capture the output artifacts of the build.