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 a062b97 commit 8b5726bCopy full SHA for 8b5726b
src/core/base-plugin.ts
@@ -69,8 +69,8 @@ export class BasePlugin {
69
}
70
71
protected isCurrentFileNeedsToBeLinked(fileName: string): boolean {
72
- if (typeof this.config.exclude === 'function') {
73
- return this.config.exclude(fileName)
+ if (typeof this.config.ignore === 'function') {
+ return this.config.ignore(fileName)
74
} else {
75
return true
76
src/types.ts
@@ -12,7 +12,7 @@ export const DEFAULT_REPLACE_CONFIG: ReplaceConfig = {
12
13
export interface Config {
14
filter?(fileName: string): boolean
15
- exclude?(fileName: string): boolean
+ ignore?(fileName: string): boolean
16
leaveCSSFile?: boolean
17
replace?: ReplaceConfig
18
0 commit comments