Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Jan 9, 2025
1 parent 9219b3a commit 2814e17
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/vite/src/node/plugins/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,13 @@ export function buildHtmlPlugin(config: ResolvedConfig): RolldownPlugin {

// script tags
if (node.nodeName === 'script') {
const { src, srcSourceCodeLocation, isModule, isAsync, isIgnored } =
getScriptInfo(node)
const {
src,
srcSourceCodeLocation,
isModule,
isAsync,
isIgnored,
} = getScriptInfo(node)

if (isIgnored) {
removeViteIgnoreAttr(s, node.sourceCodeLocation!)
Expand Down

0 comments on commit 2814e17

Please sign in to comment.