this is a really good first commit

This commit is contained in:
2023-01-18 16:13:51 +01:00
parent 6bc40e339a
commit be71f04838
117 changed files with 2972 additions and 3100 deletions

View File

@ -13,9 +13,13 @@ config :something_erlang,
# Configures the endpoint
config :something_erlang, SomethingErlangWeb.Endpoint,
url: [host: "localhost"],
render_errors: [view: SomethingErlangWeb.ErrorView, accepts: ~w(html json), layout: false],
adapter: Bandit.PhoenixAdapter,
render_errors: [
formats: [html: SomethingErlangWeb.ErrorHTML, json: SomethingErlangWeb.ErrorJSON],
layout: false
],
pubsub_server: SomethingErlang.PubSub,
live_view: [signing_salt: "2Zh6iffO"]
live_view: [signing_salt: "00UFDP60"]
# Configures the mailer
#
@ -26,12 +30,9 @@ config :something_erlang, SomethingErlangWeb.Endpoint,
# at the `config/runtime.exs`.
config :something_erlang, SomethingErlang.Mailer, adapter: Swoosh.Adapters.Local
# Swoosh API client is needed for adapters other than SMTP.
config :swoosh, :api_client, false
# Configure esbuild (the version is required)
config :esbuild,
version: "0.14.29",
version: "0.14.41",
default: [
args:
~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/*),
@ -39,14 +40,15 @@ config :esbuild,
env: %{"NODE_PATH" => Path.expand("../deps", __DIR__)}
]
# Configure tailwind (the version is required)
config :tailwind,
version: "3.0.24",
version: "3.2.4",
default: [
args: ~w(
--config=tailwind.config.js
--input=css/app.css
--output=../priv/static/assets/app.css
),
--config=tailwind.config.js
--input=css/app.css
--output=../priv/static/assets/app.css
),
cd: Path.expand("../assets", __DIR__)
]