Skip to content

Commit

Permalink
chore: fix code typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-itsheng committed Jul 12, 2022
1 parent 86bfd38 commit 6cf30ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ interface ScriptAssetsUrl {
url: string
}

const htmlProxyRE = /\?html-proxy=?(&inline-css)*&index=(\d+)\.(js|css)$/
const htmlProxyRE = /\?html-proxy=?(?:&inline-css)?&index=(\d+)\.(js|css)$/
const inlineCSSRE = /__VITE_INLINE_CSS__([a-z\d]{8}_\d+)__/g
// Do not allow preceding '.', but do allow preceding '...' for spread operations
const inlineImportRE =
Expand Down

0 comments on commit 6cf30ba

Please sign in to comment.