Skip to content

Commit 1dc9f65

Browse files
committed
remove extra \
1 parent 9968698 commit 1dc9f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bundler-plugin-core/src/utils/normalizePath.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const normalizePath = (path: string, format: string): string => {
4545
// create a regex that will match the hash
4646
// potential values gathered from: https://en.wikipedia.org/wiki/Base64
4747
// added in `\-` and `\_` to account for the `-` `_` as they are included in the potential hashes: https://rollupjs.org/configuration-options/#output-hashcharacters
48-
const regexString = `(${leadingRegex}(?<hash>[0-9a-zA-Z/\+=_\/+=-]+)${endingRegex})`;
48+
const regexString = `(${leadingRegex}(?<hash>[0-9a-zA-Z/+=_\/+=-]+)${endingRegex})`;
4949
const HASH_REPLACE_REGEX = new RegExp(regexString, "i");
5050

5151
// replace the hash with a wildcard and the delimiters

0 commit comments

Comments
 (0)