From bb8bf54ffce6071997baeb9e962e2c891749cfe5 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Wed, 8 Jul 2020 22:10:34 +0100 Subject: [PATCH] Fixed error log typo (#240) --- pkg/api/api_impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/api_impl.go b/pkg/api/api_impl.go index d90b7d25bc0..6d1daa7d31e 100644 --- a/pkg/api/api_impl.go +++ b/pkg/api/api_impl.go @@ -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