Skip to content

Commit cbdab1d

Browse files
authored
fix: match default asserts case insensitive (#19852)
1 parent 6abbdce commit cbdab1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vite/src/node/constants.ts

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export const KNOWN_ASSET_TYPES = [
171171

172172
export const DEFAULT_ASSETS_RE = new RegExp(
173173
`\\.(` + KNOWN_ASSET_TYPES.join('|') + `)(\\?.*)?$`,
174+
'i',
174175
)
175176

176177
export const DEP_VERSION_RE = /[?&](v=[\w.-]+)\b/

0 commit comments

Comments
 (0)