DEV Community

Discussion on: Update LiveView for Alpine.js 101

Collapse
 
theazharul profile image
Azhar Ibn Mostafiz • Edited

Change es2016 to es2017 in config.exs file

config :esbuild,
  version: "0.12.18",
  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__)}
  ]
Enter fullscreen mode Exit fullscreen mode
Collapse
 
grrrisu profile image
Alessandro Di Maria

Yes! Thanks for pointing out. Alpine >= 3.5 needs target es2017