Merge branch 'vite-manifest-fix' into 'main'

Provide new location for vite manifest, as that changed in vite 5

See merge request framasoft/mobilizon!1532
This commit is contained in:
Thomas Citharel 2024-02-09 08:11:59 +00:00
commit 57b6bc604c
2 changed files with 2 additions and 2 deletions

View file

@ -134,7 +134,7 @@ config :vite_phx,
environment: config_env(),
# this manifest is different from the Phoenix "cache_manifest.json"!
# optional
vite_manifest: "priv/static/manifest.json",
vite_manifest: "priv/static/.vite/manifest.json",
# optional
dev_server_address: "http://localhost:5173"

View file

@ -25,7 +25,7 @@ config :vite_phx,
release_app: :mobilizon,
# Hard code :prod as an environment as :e2e will not be recongnized
environment: :prod,
vite_manifest: "priv/static/manifest.json",
vite_manifest: "priv/static/.vite/manifest.json",
phx_manifest: "priv/static/cache_manifest.json",
dev_server_address: "http://localhost:5173"