build

Types

pub type Asset {
  Asset(src: String, dist: String, builder: Builder)
}

Constructors

  • Asset(src: String, dist: String, builder: Builder)
pub type Builder =
  fn(String, String) -> Promise(Result(Nil, String))

Functions

pub fn bundle_build(
  entry f: String,
  outfile o: String,
) -> Promise(Result(Nil, String))
pub fn bundle_watch(
  entry f: String,
  outfile o: String,
) -> Promise(Result(Nil, String))
pub fn copy_build(
  json f: String,
  outfile o: String,
) -> Promise(Result(Nil, String))
pub fn copy_watch(
  json f: String,
  outfile o: String,
) -> Promise(Result(Nil, String))
pub fn js_build(
  content c: String,
  outfile o: String,
) -> Promise(Result(Nil, String))
pub fn js_watch(
  content c: String,
  outfile o: String,
) -> Promise(Result(Nil, String))
pub fn less_build(
  less f: String,
  outfile o: String,
) -> Promise(Result(Nil, String))
pub fn less_watch(
  less f: String,
  outfile o: String,
) -> Promise(Result(Nil, String))
pub fn main() -> Promise(Result(Nil, Nil))
Search Document