From 80e3095b4c68c43609eb6559b4fe5b77802e8a7f Mon Sep 17 00:00:00 2001 From: 778a69cd <778a69cd@potsda.mn> Date: Thu, 8 Feb 2024 19:59:43 +0100 Subject: [PATCH] provide new location for vite manifest, as that changed in vite 5 --- config/config.exs | 2 +- config/e2e.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.exs b/config/config.exs index 3d180b27f..8e1dab1b8 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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" diff --git a/config/e2e.exs b/config/e2e.exs index 848d5eaa2..5ee1b8c1c 100644 --- a/config/e2e.exs +++ b/config/e2e.exs @@ -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"