# `mix volt.priv.vendor`
[🔗](https://github.com/elixir-volt/volt/blob/v0.23.0/lib/mix/tasks/volt/priv/vendor.ex#L1)

Vendors the npm packages that `DIR/package.json` lists into `DIR/node_modules`,
keeping only the files the sources in `DIR` reach. See `Volt.Priv.Vendor`.

    mix volt.priv.vendor priv/ts
    mix volt.priv.vendor priv/ts --update

Run it before `mix hex.publish`, so the package ships the vendored files.

## Options

  * `--update` — resolve the versions again instead of using `DIR/npm.lock`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
