Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/sxzz/rolldown-plugin-dts. A Rolldown plugin to generate and bundle dts files.
Something went wrong. Try again.
1234567// Based on https://github.com/sindresorhus/escape-string-regexpexport function escapeRegExp(value: string): string { return value .replaceAll(/[|\\{}()[\]^$+*?.]/g, String.raw`\$&`) .replaceAll('-', String.raw`\x2d`)}