Skip to content

Commit

Permalink
chore: ignore ts warning (#9015)
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxiemeihao committed Jul 11, 2022
1 parent 53799e1 commit e2a6bf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/importAnalysis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export function importAnalysisPlugin(config: ResolvedConfig): Plugin {
if (ssr) {
return [url, url]
}
this.error(
return this.error(
`Failed to resolve import "${url}" from "${path.relative(
process.cwd(),
importerFile
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/importAnalysisBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export function buildImportAnalysisPlugin(config: ResolvedConfig): Plugin {
if (ssr) {
return [url, url]
}
this.error(
return this.error(
`Failed to resolve import "${url}" from "${path.relative(
process.cwd(),
importerFile
Expand Down

0 comments on commit e2a6bf4

Please sign in to comment.