We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46e5899 commit 46feff2Copy full SHA for 46feff2
packages/bundler-plugin-core/src/utils/normalizePath.ts
@@ -56,7 +56,7 @@ export const normalizePath = (path: string, format: string): string => {
56
}
57
58
// handle vite legacy builds
59
- if (path.includes("legacy")) {
+ if (normalizedPath === path && path.includes("legacy")) {
60
const regexReplacement =
61
/(?<leadingDelimiter>\S+-legacy-)(?<hash>[0-9a-zA-Z\/+=_\/+=-]+)(?<endingDelimiter>.\S+)/i;
62
0 commit comments