From 7b7d0635d5b521c4bf46c42f5ce6d96f73b5cdf8 Mon Sep 17 00:00:00 2001 From: Ben Garrett Date: Thu, 29 Feb 2024 13:51:43 +1100 Subject: [PATCH] Comment fixes. --- runner/runner.go | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/runner/runner.go b/runner/runner.go index 4b26048c..fb4133f4 100644 --- a/runner/runner.go +++ b/runner/runner.go @@ -46,14 +46,6 @@ func CSS(name string) api.BuildOptions { } } -/*! - * Bootstrap v5.3.0 (https://getbootstrap.com/) - * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */ - -/* readme.min.js */ - // JS are the options to build the minified JS files. func JS(name string) api.BuildOptions { min := fmt.Sprintf("%s.min.js", name) @@ -62,8 +54,9 @@ func JS(name string) api.BuildOptions { return api.BuildOptions{ EntryPoints: []string{entry}, Outfile: output, - Write: true, - Bundle: false, + Target: api.ES2020, // specify JS language version + Write: true, // write the output file to disk + Bundle: false, // bundle dependencies into the output file MinifyWhitespace: true, MinifyIdentifiers: true, MinifySyntax: true,