Skip to content

Commit

Permalink
Fix typo: 'serverComponentsExtenalPackages' should be 'serverComponen…
Browse files Browse the repository at this point in the history
…tsExternalPackages'
  • Loading branch information
gaspar09 committed Apr 18, 2024
1 parent 5221435 commit 9dacbfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/next-swc/crates/next-core/src/next_server/resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ impl ResolvePlugin for ExternalCjsModulesResolvePlugin {
way Node.js resolves modules is slightly different from the way Next.js \
resolves modules. Next.js was able to resolve it, while Node.js would not be \
able to.\nTry to remove this package from \
serverComponentsExtenalPackages.\nOr update the import side to use a \
serverComponentsExternalPackages.\nOr update the import side to use a \
compatible request that can be resolved by Node.js.",
);
};
Expand Down Expand Up @@ -486,7 +486,7 @@ impl Issue for UnableToExternalize {
StyledString::Text("Package ".to_string()),
StyledString::Code(package),
StyledString::Text(" (".to_string()),
StyledString::Code("serverComponentsExtenalPackages".to_string()),
StyledString::Code("serverComponentsExternalPackages".to_string()),
StyledString::Text(" or default list) can't be external".to_string()),
])
.cell())
Expand All @@ -510,7 +510,7 @@ impl Issue for UnableToExternalize {
StyledString::Text("The request ".to_string()),
StyledString::Code(self.request.to_string()),
StyledString::Text(" matches ".to_string()),
StyledString::Code("serverComponentsExtenalPackages".to_string()),
StyledString::Code("serverComponentsExternalPackages".to_string()),
StyledString::Text(
" (or the default list), but it can't be external:".to_string(),
),
Expand Down

0 comments on commit 9dacbfd

Please sign in to comment.