View Source mix tree_sitter (tree_sitter v0.0.2)

Invokes tree_sitter with the given args.

Usage:

$ mix tree_sitter TASK_OPTIONS PROFILE TREE_SITTER_ARGS

Example:

$ mix tree_sitter default assets/js/app.js --bundle --minify --target=es2016 --outdir=priv/static/assets

If tree_sitter is not installed, it is automatically downloaded. Note the arguments given to this task will be appended to any configured arguments.

options

Options

  • --runtime-config - load the runtime configuration before executing command

Note flags to control this Mix task must be given before the profile:

$ mix tree_sitter --runtime-config default assets/js/app.js