We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825a4fe commit 301ff17Copy full SHA for 301ff17
src/index.ts
@@ -18,7 +18,7 @@ export default class Plugin
18
{
19
20
static makeReg(fileName: string) {
21
- return new RegExp(`<link[^>]+href=['"]${fileName}['"][^>]+(>|\\\\>|><\\/link>)`);
+ return new RegExp(`<link[^>]+href=['"]${fileName}['"][^>]+(>|\/>|><\/link>)`);
22
}
23
24
static getStyleString(modules: Module[]): string {
0 commit comments