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

This commit is contained in:
778a69cd 2024-02-08 19:59:43 +01:00
parent 5429afba21
commit 80e3095b4c
2 changed files with 2 additions and 2 deletions

View file

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

View file

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