Skip to content

Commit

Permalink
docs: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing committed Sep 24, 2023
1 parent 5f9131c commit f66ba5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vite/src/node/plugins/importAnalysis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,8 @@ export function importAnalysisPlugin(config: ResolvedConfig): Plugin {
}
return
} else if (templateLiteralRE.test(rawUrl)) {
// Only static template literal will into this branch.
// It has variables will processed in importMetaGlob.ts
specifier = rawUrl.replace(templateLiteralRE, '$1')
}

Expand Down

0 comments on commit f66ba5c

Please sign in to comment.