View Source Vite (vite v0.3.0)

Summary

Functions

Returns the configuration for the given profile.

Returns the configured esbuild version.

Installs, if not available, and then runs bun.

Returns the installed vite version.

Functions

Returns the configuration for the given profile.

Returns nil if the profile does not exist.

Returns the configured esbuild version.

Installs vite with configured_version/0.

Link to this function

install_and_run(profile, args)

View Source

Installs, if not available, and then runs bun.

Returns the same as run/2.

Returns the installed vite version.

Returns version_string on success or nil when vite is not available.

Link to this function

run(exec, profile, extra_args)

View Source
@spec run(binary(), atom(), [binary()]) :: non_neg_integer()