webpack-notifier:webpack + node-notifier =构建状态系统通知

webpack-notifier这是一个插件,它使用包向用户显示构建状态系统通知。这是插件的。它增加了对Windows的支持,并且不再需要在OS X上手动安装terminal-notifier程序包。从构建失败中恢复后,该插件将通知您有关第一次运行(成功/失败),所有失败的运行以及第一次成功运行的信息。换句话说:如果您的构建一切正常,它将保持沉默。安装使用npm安装此软件包: npm install --save-dev webpack-notifier检查node-notifier是否需要为操作系统安装任何其他工具。用法在webpack.config.js文件中: var WebpackNotifierPlugin = require ( 'webpack-notifier' ) ; var config = module . exports = {
zip
webpack-notifier-master.zip 预估大小:26个文件
folder
webpack-notifier-master 文件夹
file
.gitignore 23B
file
package.json 1KB
file
LICENSE.md 827B
file
jest.config.js 6KB
file
index.js 4KB
folder
__mocks__ 文件夹
file
node-notifier.ts 45B
file
CHANGELOG.md 5KB
file
tsconfig.json 122B
folder
.github 文件夹
folder
workflows 文件夹
file
ci.yml 3KB
file
.eslintrc.js 284B
file
README.md 3KB
file
screenshot.png 27KB
folder
example 文件夹
file
.gitignore 10B
file
package.json 232B
file
webpack.config.js 225B
file
entry.js 29B
file
logo.png 5KB
folder
test 文件夹
file
WebpackNotifierPlugin.test.ts 4KB
file
VerbosityLevelAllVariants.test.ts 1KB
folder
helpers 文件夹
file
ChildCompilationPlugin.ts 816B
file
CustomWarningPlugin.ts 413B
file
utils.ts 3KB
file
fixtures.ts 262B
file
.eslintrc.js 186B
folder
__snapshots__ 文件夹
file
VerbosityLevelAllVariants.test.ts.snap 515KB
file
WebpackNotifierPlugin.test.ts.snap 10KB
zip 文件大小:57.89KB