mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-12 20:40:46 +01:00
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/575 Closes #580 Approved-by: Marie <marie@kaifa.ch> Approved-by: Tess K <me@thvxl.se>
This commit is contained in:
commit
c344705d67
1 changed files with 3 additions and 4 deletions
|
@ -5,10 +5,9 @@ function iconsReplace(opts: RollupReplaceOptions) {
|
|||
return pluginReplace({
|
||||
...opts,
|
||||
preventAssignment: false,
|
||||
// only replace these strings at the start of strings, remove a
|
||||
// `ti-fw` it if happens to be just after, and make sure they're
|
||||
// followed by a word-boundary that's not a dash
|
||||
delimiters: ['(?<=["\'`])', '(?: ti-fw)?\\b(?!-)'],
|
||||
// only replace these strings at the start of strings, and make
|
||||
// sure they're followed by a word-boundary that's not a dash
|
||||
delimiters: ['(?<=["\'`])', '\\b(?!-)'],
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue