aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-12-17 14:35:13 +0100
committerBjørn Erik Pedersen <[email protected]>2024-12-17 14:35:13 +0100
commit5c80cb0d208134437c8446698e3a18c8381cfe72 (patch)
tree0969e96048dbb8e8ed3f8bd196a637588c2df118
parenta5e5be234c33016cd44a611ea4b8c6e57e2468e4 (diff)
downloadhugo-5c80cb0d208134437c8446698e3a18c8381cfe72.tar.gz
hugo-5c80cb0d208134437c8446698e3a18c8381cfe72.zip
js/esbuild: Add missing es2024 target
-rw-r--r--internal/js/esbuild/options.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/js/esbuild/options.go b/internal/js/esbuild/options.go
index 21509bc15..5ea2bcea9 100644
--- a/internal/js/esbuild/options.go
+++ b/internal/js/esbuild/options.go
@@ -45,6 +45,7 @@ var (
"es2021": api.ES2021,
"es2022": api.ES2022,
"es2023": api.ES2023,
+ "es2024": api.ES2024,
}
// source names: https://github.com/evanw/esbuild/blob/9eca46464ed5615cb36a3beb3f7a7b9a8ffbe7cf/internal/config/config.go#L208