From 5c80cb0d208134437c8446698e3a18c8381cfe72 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Tue, 17 Dec 2024 14:35:13 +0100 Subject: js/esbuild: Add missing es2024 target --- internal/js/esbuild/options.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal') 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 -- cgit v1.2.3