2024-02-17 08:47:19 -05:00
|
|
|
import Config
|
|
|
|
|
2024-02-23 22:15:36 -05:00
|
|
|
config :logger, :default_formatter, format: "$time $metadata[$level] $message\n"
|
2024-02-21 09:17:58 -05:00
|
|
|
|
2024-02-23 22:15:36 -05:00
|
|
|
config :tailwind,
|
|
|
|
version: "3.4.1",
|
|
|
|
default: [
|
|
|
|
args: ~w(
|
2024-02-24 08:57:36 -05:00
|
|
|
--config=tailwind.config.js
|
|
|
|
--input=css/app.css
|
|
|
|
--output=../priv/output/assets/app.css
|
|
|
|
),
|
2024-02-23 22:15:36 -05:00
|
|
|
cd: Path.expand("../assets", __DIR__)
|
|
|
|
]
|
2024-02-24 08:57:36 -05:00
|
|
|
|
|
|
|
config :esbuild,
|
|
|
|
version: "0.20.1",
|
|
|
|
default: [
|
|
|
|
args: ~w(js/app.js --bundle --target=es2016 --outdir=../priv/output/assets),
|
|
|
|
cd: Path.expand("../assets", __DIR__),
|
|
|
|
env: %{ "NODE_PATH" => Path.expand("../deps", __DIR__) }
|
|
|
|
]
|