feat: migration to liveview 1.1

This commit is contained in:
Moritz 2025-07-17 18:53:04 +02:00
parent 4dd114c22a
commit aa843933f9
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)