From bcb950347053089fee22c02f100bd8430e5654a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 21 Jul 2020 17:59:03 +0200 Subject: [PATCH] resources/js: Add option for setting bundle format Fixes #7503 --- content/en/hugo-pipes/js.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en/hugo-pipes/js.md b/content/en/hugo-pipes/js.md index f361adc45..465854f3a 100644 --- a/content/en/hugo-pipes/js.md +++ b/content/en/hugo-pipes/js.md @@ -45,6 +45,11 @@ defines [map] {{ $defines := dict "process.env.NODE_ENV" `"development"` }} ``` +format [string] {{< new-in "0.75.0" >}} +: The output format. + One of: `iife`, `cjs`, `esm`. + Default is `iife`, a self-executing function, suitable for inclusion as a