Skip to content

Commit

Permalink
fix: always replace preload marker with value
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 12, 2021
1 parent 9c4ef58 commit 2d6f524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/importAnaysisBuild.ts
Expand Up @@ -237,7 +237,7 @@ export function buildImportAnalysisPlugin(config: ResolvedConfig): Plugin {
// preload when there are actual other deps.
deps.size > 1
? `[${[...deps].map((d) => JSON.stringify(d)).join(',')}]`
: ``
: `void 0`
)
}
}
Expand Down

0 comments on commit 2d6f524

Please sign in to comment.