mirror of
https://github.com/plausible/analytics.git
synced 2024-11-30 00:58:54 +03:00
d6824de1ad
* Rename internal build symbols * Rename remaining + add `on_ce` macro cc @ruslandoga
12 lines
357 B
Elixir
12 lines
357 B
Elixir
import Config
|
|
|
|
import_config "prod.exs"
|
|
|
|
config :esbuild,
|
|
default: [
|
|
args:
|
|
~w(js/app.js js/dashboard.js 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__)}
|
|
]
|