# `Juggernaut.Sandbox.MixExs`
[🔗](https://github.com/holsee/juggernaut/blob/v0.4.0/lib/juggernaut/sandbox/mix_exs.ex#L1)

The sandbox's copy of `mix.exs` (design notes §10.2): the project's file with every
relative `path:` given as a string literal (path dependencies such as
`{:juggernaut, path: "../.."}`) made absolute against the project root, because the
sandbox lives at another depth. Everything else is copied as written; a path computed
at run time is left alone.

# `rewrite`

```elixir
@spec rewrite(String.t(), Path.t()) :: String.t()
```

`source` (a `mix.exs`) with relative literal `path:` values expanded against `root`.

---

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