29 lines
1,019 B
Elixir
29 lines
1,019 B
Elixir
import Config
|
|
|
|
# For production, don't forget to configure the url host
|
|
# to something meaningful, Phoenix uses this information
|
|
# when generating URLs.
|
|
|
|
# Note we also include the path to a cache manifest
|
|
# containing the digested version of static files. This
|
|
# manifest is generated by the `mix phx.digest` task,
|
|
# which you should run after static files are built and
|
|
# before starting your production server.
|
|
config :aprs, AprsWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
|
|
|
|
# Runtime production configuration, including reading
|
|
|
|
# Do not print debug messages in production
|
|
# of environment variables, is done on config/runtime.exs.
|
|
config :logger, level: :info
|
|
|
|
# Configures Swoosh API Client
|
|
config :swoosh, :api_client, Aprs.Finch
|
|
|
|
config :esbuild,
|
|
version: "0.17.11",
|
|
default: [
|
|
args: ~w(js/app.js --bundle --target=es2020 --outdir=../priv/static/assets --loader:.ts=ts),
|
|
cd: Path.expand("../assets", __DIR__),
|
|
env: %{"NODE_PATH" => Path.expand("../deps", __DIR__)}
|
|
]
|