plugin fix
This commit is contained in:
1 parent
a75c42f4ac
commit
10bcf9f1f4
5 files changed
+13
-7
No files matched your search
@@ -44,6 +44,9 @@ export class ValidationPlugin implements CompilerPlugin {
|
||||
|
||||
this.validation.forEach((validation) => {
|
||||
const regex = validation.regexObject;
|
||||
if (!regex) {
|
||||
return;
|
||||
}
|
||||
const fileContents = file.fileContents;
|
||||
|
||||
let match: RegExpExecArray | null;
|
||||
|
||||
Reference in new issue
Block a user