Closed astorije closed 3 years ago
Totals | |
---|---|
Change from base Build 160: | 0.2% |
Covered Lines: | 130 |
Relevant Lines: | 134 |
@RoccoC, rebased on master
and fixed conflicts on that one as well. I expect this might cause further conflicts with https://github.com/RoccoC/webpack-build-notifier/pull/70 if you merge either of them, but I don't mind fixing conflicts while it's fresh :)
Rebased on master
and fixed conflicts.
Merged and published in 2.3.0
This allows customization like the following successful notification:
This can be done using the following configuration:
formatMessage
is a() => string
function instead of a simplestring
parameter so that it can be passed a dynamic value. This is useful in cases like the example above, where the message to display depends on a value set after the plugin has been initialized.