Class NgNamedImportCheckPlugin
Constructors
constructor
- new NgNamedImportCheckPlugin(folderList??: string[], filter?: ((module: Module) => boolean), customHint?: ((module: Module) => void)): NgNamedImportCheckPlugin
-
Parameters
-
Optional
folderList: string[] = []
-
Optional
filter: ((module: Module) => boolean)
-
- (module: Module): boolean
-
Returns boolean
-
Optional
customHint: ((module: Module) => void)
-
- (module: Module): void
-
Returns void
Methods
apply
- apply(compiler: Compiler): void
-
Returns void
Private
isInFolder
- isInFolder(filePath: string): boolean
-
Returns boolean
Private
warnHint
- warnHint(module: Module): void
-
Returns void
检查导入的命名是否是已经导出