mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 10:02:10 +03:00
12 lines
356 B
Elixir
12 lines
356 B
Elixir
|
import Config
|
||
|
|
||
|
import_config "dev.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__)}
|
||
|
]
|