Update to Phoenix 1.6.6

Update by applying https://gist.github.com/chrismccord/2ab350f154235ad4a4d0f4de6decba7b
JS hooks not working yet.
This commit is contained in:
Thelonius Kort
2022-01-30 23:09:00 +01:00
parent eeb200bd98
commit 353c401c95
13 changed files with 58 additions and 8071 deletions

View File

@ -21,13 +21,8 @@ config :clip, ClipWeb.Endpoint,
code_reloader: true,
check_origin: false,
watchers: [
node: [
"node_modules/webpack/bin/webpack.js",
"--mode",
"development",
"--watch-stdin",
cd: Path.expand("../assets", __DIR__)
]
# Start the esbuild watcher by calling Esbuild.install_and_run(:default, args)
esbuild: {Esbuild, :install_and_run, [:default, ~w(--sourcemap=inline --watch)]}
]
# ## SSL Support