Skip to content

Commit

Permalink
fix: fix rewrite when encountering external url
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 6, 2020
1 parent 16fa669 commit e78c9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/serverPluginModuleRewrite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function rewriteImports(
if (dynamicIndex === -1 || hasLiteralDynamicId) {
// do not rewrite external imports
if (isExternalUrl(id)) {
return
break
}

let resolved
Expand Down

0 comments on commit e78c9f7

Please sign in to comment.