fix typos

This commit is contained in:
Brian Leishman 2024-09-25 13:43:11 -04:00 committed by GitHub
parent 671b2f49bd
commit 6b5eaf7b42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -435,7 +435,7 @@ func toBuildOptions(opts Options) (buildOptions api.BuildOptions, err error) {
if opts.Loaders != nil {
loaders = make(map[string]api.Loader)
for k, v := range opts.Loaders {
// use the same stings as the esbuild cli.
// Use the same strings as the esbuild cli.
// See https://github.com/evanw/esbuild/blob/d34e79e2a998c21bb71d57b92b0017ca11756912/internal/config/config.go#L208
switch strings.ToLower(v) {
case "none":