mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 09:33:19 +03:00
1488683d26
* Update tailwind config Turns out `extra` wasn't scanned properly with previous wildcards. I don't care any more, it's not slow. * Add interface for updating funnels * Extend ComboBox with the ability to preselect an initial value * Implement editing funnels UI * Update CHANGELOG * s/add_funnel/setup_funnel * modal width 2/5 => 2/3 * Let's not make the list disappear on modal pop-up * Fix the damn modal width again * Watch extra dir * Format * Remove commented code The test is implemented elsewhere * Track funnel modified to drop default selection * Fix screen size adoption and format large numbers * Preserve currency so that string casting includes it * Format * Fix ComboBox attribute for preselected option
29 lines
714 B
Elixir
29 lines
714 B
Elixir
import Config
|
|
|
|
config :plausible, PlausibleWeb.Endpoint,
|
|
server: true,
|
|
debug_errors: true,
|
|
code_reloader: true,
|
|
check_origin: false,
|
|
watchers: [
|
|
esbuild: {Esbuild, :install_and_run, [:default, ~w(--sourcemap=inline --watch)]},
|
|
tailwind: {Tailwind, :install_and_run, [:default, ~w(--watch)]},
|
|
npm: [
|
|
"run",
|
|
"deploy",
|
|
cd: Path.expand("../tracker", __DIR__)
|
|
]
|
|
],
|
|
live_reload: [
|
|
dirs: [
|
|
"extra"
|
|
],
|
|
patterns: [
|
|
~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$},
|
|
~r"lib/plausible_web/(controllers|live|components|templates|views|plugs)/.*(ex|heex)$"
|
|
]
|
|
]
|
|
|
|
config :phoenix, :stacktrace_depth, 20
|
|
config :phoenix, :plug_init_mode, :runtime
|