mirror of
https://github.com/plausible/analytics.git
synced 2024-11-25 07:06:11 +03:00
6c7f123d2c
* add better assets compression to ce * changelog * fix conditional compilation * improve changelog message * don't need zstd
18 lines
453 B
Elixir
18 lines
453 B
Elixir
import Config
|
|
|
|
import_config "prod.exs"
|
|
|
|
config :phoenix,
|
|
static_compressors: [
|
|
PhoenixBakery.Gzip,
|
|
PhoenixBakery.Brotli
|
|
]
|
|
|
|
config :esbuild,
|
|
default: [
|
|
args:
|
|
~w(js/app.js js/dashboard.tsx js/embed.host.js js/embed.content.js --bundle --target=es2017 --loader:.js=jsx --outdir=../priv/static/js --define:BUILD_EXTRA=false),
|
|
cd: Path.expand("../assets", __DIR__),
|
|
env: %{"NODE_PATH" => Path.expand("../deps", __DIR__)}
|
|
]
|