Created
April 13, 2022 22:39
-
-
Save danhawkins/9c861d2505e4e37b8b11281cf0681512 to your computer and use it in GitHub Desktop.
esbuild-config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Phoenix | |
config :esbuild, | |
version: "0.12.18", | |
default: [ | |
args: | |
~w(js/app.js --bundle --target=es2019 --outdir=../priv/static/assets --external:/fonts/* --external:/images/*), | |
cd: Path.expand("../assets", __DIR__), | |
env: %{"NODE_PATH" => Path.expand("../deps", __DIR__)} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment