Custom Task API

  • Templates
    • mix.html()
  • Stylesheets
    • mix.css(input, output)
    • mix.sass(input, output)
    • mix.less(input, output)
    • mix.csspath()
    • mix.cssmin(input, output, renameOptions)
  • JavaScript
    • mix.js(input, output)
    • mix.jsmin(input, output, uglifyOptions, renameOptions)
  • Files & Directories
    • mix.copy(from, to, renameOptions)
    • mix.remove(src)
  • Cache
    • mix.version(input, output, excludes)
  • Server
    • mix.serve()
  • Assets
    • mix.zip(input, output, filename)
    • mix.ftp(localFiles, options)
    • mix.publish(input, output, renameOptions)
const balm = require('balm');

balm.config = {
  // Your project config
};

balm.go(mix => {
  // Custom Task API
});

balm.config refer to BalmJS Configuration

results matching ""

    No results matching ""