We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3f6bd2 commit f66d4f2Copy full SHA for f66d4f2
script/generate-regex.js
@@ -37,9 +37,8 @@ let index = -1
37
// Add code points to strip.
38
while (++index < ranges.length) {
39
const name = ranges[index]
40
- const fp = `./${name}/code-points.js`
41
/** @type {{default: Array<number>}} */
42
- const { default: codePoints } = await import(new URL(fp, categoryBase).href)
+ const { default: codePoints } = await import(new URL(name + '/code-points.js', categoryBase).href)
43
44
generator.add(codePoints)
45
}
0 commit comments