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:
commit
57b6bc604c
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue