mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-20 21:04:17 +08:00
Clarify note on deps (#490)
This commit is contained in:
parent
c384db8478
commit
e965ad1392
1 changed files with 6 additions and 5 deletions
11
mix.exs
11
mix.exs
|
@ -34,12 +34,13 @@ defmodule Livebook.MixProject do
|
|||
|
||||
defp deps do
|
||||
[
|
||||
# We point phoenix, phoenix_live_view and phoenix_tag to
|
||||
# We point phoenix, phoenix_live_view and phoenix_html to
|
||||
# exact versions, because we install the corresponding npm
|
||||
# packages directly from deps when creating the assets bundle
|
||||
# and the Elixir-side versions must match at runtime.
|
||||
# Specifically, this is necessary because mix.lock is not
|
||||
# loaded when installing the Escript.
|
||||
# packages directly from the local deps (using "file:"),
|
||||
# they end up in the final assets bundle and the Elixir-side
|
||||
# versions must match at runtime. Specifically, this is
|
||||
# necessary because mix.lock is not loaded when installing
|
||||
# the Escript and we don't want newer versions to be installed.
|
||||
{:phoenix, "1.5.10"},
|
||||
{:phoenix_live_view, "0.16.0"},
|
||||
{:phoenix_live_dashboard, "~> 0.5.0"},
|
||||
|
|
Loading…
Reference in a new issue