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
1 parent fface50 commit eb641ccCopy full SHA for eb641cc
lib/interpolateName.js
@@ -69,7 +69,7 @@ function interpolateName(loaderContext, name, options) {
69
)
70
.replace(
71
/\[emoji(?::(\d+))?\]/ig,
72
- (all, length) => encodeStringToEmoji(content, length)
+ (all, length) => encodeStringToEmoji(content, parseInt(length, 10))
73
);
74
}
75
url = url
0 commit comments