Skip to content

Commit

Permalink
Fixed error log typo (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm authored Jul 8, 2020
1 parent b0cc3a2 commit bb8bf54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/api_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ func buildImpl(buildOpts BuildOptions) BuildResult {

// Code splitting is experimental and currently only enabled for ES6 modules
if options.CodeSplitting && options.OutputFormat != config.FormatESModule {
log.AddError(nil, ast.Loc{}, "Spltting currently only works with the \"esm\" format")
log.AddError(nil, ast.Loc{}, "Splitting currently only works with the \"esm\" format")
}

var outputFiles []OutputFile
Expand Down

0 comments on commit bb8bf54

Please sign in to comment.