mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-22 20:42:58 +00:00
fix typos
This commit is contained in:
parent
671b2f49bd
commit
6b5eaf7b42
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ func toBuildOptions(opts Options) (buildOptions api.BuildOptions, err error) {
|
||||||
if opts.Loaders != nil {
|
if opts.Loaders != nil {
|
||||||
loaders = make(map[string]api.Loader)
|
loaders = make(map[string]api.Loader)
|
||||||
for k, v := range opts.Loaders {
|
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
|
// See https://github.com/evanw/esbuild/blob/d34e79e2a998c21bb71d57b92b0017ca11756912/internal/config/config.go#L208
|
||||||
switch strings.ToLower(v) {
|
switch strings.ToLower(v) {
|
||||||
case "none":
|
case "none":
|
||||||
|
|
Loading…
Reference in a new issue