We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
2 parents 8b7834a + eb641cc commit a18d1a4Copy full SHA for a18d1a4
lib/interpolateName.js
@@ -73,7 +73,7 @@ function interpolateName(loaderContext, name, options) {
73
)
74
.replace(
75
/\[emoji(?::(\d+))?\]/ig,
76
- (all, length) => encodeStringToEmoji(content, length)
+ (all, length) => encodeStringToEmoji(content, parseInt(length, 10))
77
);
78
}
79
url = url
0 commit comments