Gathering detailed insights and metrics for webpack-processor-notifier
Gathering detailed insights and metrics for webpack-processor-notifier
Gathering detailed insights and metrics for webpack-processor-notifier
Gathering detailed insights and metrics for webpack-processor-notifier
A plugin to notify of the success or failure of a webpack build. It allows to be passed as processor.
npm install webpack-processor-notifier
Typescript
Module System
Node Version
NPM Version
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
16 Commits
1 Watchers
1 Branches
1 Contributors
Updated on May 13, 2017
Latest Version
0.2.2
Package Id
webpack-processor-notifier@0.2.2
Size
11.60 kB
NPM Version
3.10.10
Node Version
6.9.4
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
A plugin to notify of the success or failure of a webpack build. It allows to be passed as processor.
When using the optimize-css-assets-webpack-plugin
I couldn't get the webpack-build-notifier
to work on CSS errors. It seems this plugin doesn't call the proper error callback (or one of it's dependencies).
The notification uses node-notifier, you can refer to it for the configuration of icons and sounds.
You can use this plugin as a build success/failure notifier. Configure it in your webpack.config.js
(below is for a MS Windows machine):
1const WebpackProcessorNotifier = require('webpack-processor-notifier'); 2module.exports = { 3 // ... 4 plugins: [ 5 new WebpackProcessorNotifier({ 6 buildType: 'Some build type', 7 iconPath: 'D:/media/', 8 infoIcon: 'hero.png', 9 errorIcon: 'yolo.png', 10 infoSound: 'Notification.Looping.Call', 11 errorSound: 'Notification.Looping.Alarm4' 12 }) 13 ] 14 // ... 15}
Currently tested only with css-nano
1const WebpackProcessorNotifier = require('webpack-processor-notifier'); 2const cssnano = require('css-nano'); 3 4module.exports = { 5 // ... 6 plugins: [ 7 new OptimizeCSSAssetsPlugin({ 8 cssProcessor: new WebpackProcessorNotifier({ 9 buildType: "CSS", 10 processor: cssnano 11 }), 12 cssProcessorOptions: { 13 discardComments: { 14 removeAll: true, 15 }, 16 safe: false 17 } 18 }) 19 ] 20 // ... 21}
buildType
: This is used to customize the title of the notification.
processor
: The kind of processor to use. Currently only supports css-nano
.
infoIcon
: The icon to use for successfull build.
errorIcon
: The icon to use for failed build.
iconPath
: The path of the icons.
infoSound
: The sound to use for successfull build.
errorSound
: The sound to use for failed build.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More