-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Description
Currently, these are the only options supported by js.Build https://godoc.org/github.com/gohugoio/hugo/resources/resource_transformers/js#Options
However, ESBuild exposes all of these. There's a lot of good stuff in there, including control over the output format (presently defaulting to IIFE), code-splitting and sourcemap support. Code-splitting is especially useful since it prevents users from re-downloading the same code twice. Sourcemaps are another important one for debugging.
@remko Thanks for the new feature BTW, it's really great!
minheq, ersinakinci, phoenisx, doompadee, BrianLeishman and 1 more