diff --git a/installer/templates/phx_single/config/dev.exs b/installer/templates/phx_single/config/dev.exs index cb49f2cd4b..1f1b3844b4 100644 --- a/installer/templates/phx_single/config/dev.exs +++ b/installer/templates/phx_single/config/dev.exs @@ -63,10 +63,10 @@ config :logger, :console, format: "[$level] $message\n" config :phoenix, :stacktrace_depth, 20 # Initialize plugs at runtime for faster development compilation -config :phoenix, :plug_init_mode, :runtime<%= if @mailer do %> +config :phoenix, :plug_init_mode, :runtime<%= if @html do %> # Include HEEx debug annotations as HTML comments in rendered markup -config :phoenix_live_view, :debug_heex_annotations, true +config :phoenix_live_view, :debug_heex_annotations, true<% end %><%= if @mailer do %> # Disable swoosh api client as it is only required for production adapters. config :swoosh, :api_client, false<% end %> diff --git a/installer/templates/phx_umbrella/config/dev.exs b/installer/templates/phx_umbrella/config/dev.exs index a7b5d136ee..c8c6d4b5dc 100644 --- a/installer/templates/phx_umbrella/config/dev.exs +++ b/installer/templates/phx_umbrella/config/dev.exs @@ -4,10 +4,10 @@ import Config config :logger, :console, format: "[$level] $message\n" # Initialize plugs at runtime for faster development compilation -config :phoenix, :plug_init_mode, :runtime<%= if @mailer do %> +config :phoenix, :plug_init_mode, :runtime<%= if @html do %> # Include HEEx debug annotations as HTML comments in rendered markup -config :phoenix_live_view, :debug_heex_annotations, true +config :phoenix_live_view, :debug_heex_annotations, true<% end %><%= if @mailer do %> # Disable swoosh api client as it is only required for production adapters. config :swoosh, :api_client, false<% end %>