feat: migration to liveview 1.1
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
Moritz 2025-07-17 18:53:04 +02:00
parent 2255dfbf6e
commit eef5b8a092
Signed by: moritz
GPG key ID: 1020A035E5DD0824
4 changed files with 12 additions and 7 deletions

View file

@ -76,9 +76,9 @@ config :esbuild,
version: "0.17.11",
mv: [
args:
~w(js/app.js --bundle --target=es2022 --outdir=../priv/static/assets/js --external:/fonts/* --external:/images/*),
~w(js/app.js --bundle --target=es2022 --outdir=../priv/static/assets/js --external:/fonts/* --external:/images/* --alias:@=.),
cd: Path.expand("../assets", __DIR__),
env: %{"NODE_PATH" => Path.expand("../deps", __DIR__)}
env: %{"NODE_PATH" => [Path.expand("../deps", __DIR__), Mix.Project.build_path()]}
]
# Configure tailwind (the version is required)

View file

@ -81,6 +81,7 @@ config :phoenix_live_view,
# Include HEEx debug annotations as HTML comments in rendered markup.
# Changing this configuration will require mix clean and a full recompile.
debug_heex_annotations: true,
debug_tags_location: true,
# Enable helpful, but potentially expensive runtime checks
enable_expensive_runtime_checks: true