new WebpackModificators(data)
WebpackModificators Plugin constructor
.WebpackModificators Plugin constructor
Parameters:
Name | Type | Description |
---|---|---|
data |
object | Widget settings |
Methods
apply(compiler)
Apply plugin
.Apply plugin
Parameters:
Name | Type | Description |
---|---|---|
compiler |
lookupModificators(source, file) → {string}
Find file with modificators
.Find file with modificators
Parameters:
Name | Type | Description |
---|---|---|
source |
string | base file patch |
file |
string | file name |
Returns:
- Type
- string