| import Config | |
| config :hexalixir, HexalixirWeb.Endpoint, | |
| url: [host: "localhost"], | |
| render_errors: [ | |
| formats: [html: HexalixirWeb.ErrorHTML, json: HexalixirWeb.ErrorJSON], | |
| layout: false | |
| ], | |
| pubsub_server: Hexalixir.PubSub, | |
| live_view: [signing_salt: "YOUR_SECRET_SALT"] | |
| config :esbuild, | |
| version: "0.14.41", | |
| default: [ | |
| args: ~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets | |
| --external:/fonts/* --external:/images/*), | |
| cd: Path.expand("../assets", __DIR__), | |
| env: %{"NODE_PATH" => Path.expand("../deps", __DIR__)} | |
| ] | |
| config :tailwind, | |
| version: "3.2.4", | |
| default: [ | |
| args: ~w( | |
| --config=tailwind.config.js | |
| --input=css/app.css | |
| --output=../priv/static/assets/app.css | |
| ), | |
| cd: Path.expand("../assets", __DIR__) | |
| ] | |
| config :phoenix, :json_library, Jason | |
| import_config "#{config_env()}.exs" | |