mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
412 B
TypeScript
15 lines
412 B
TypeScript
import WebpackNotifierPlugin = require('webpack-notifier');
|
|
import { Plugin } from 'webpack';
|
|
|
|
const configs: Array<WebpackNotifierPlugin.Config> = [
|
|
{
|
|
title: 'Webpack',
|
|
contentImage: 'logo.png',
|
|
excludeWarnings: true,
|
|
alwaysNotify: true,
|
|
skipFirstNotification: true,
|
|
},
|
|
];
|
|
|
|
const plugins: Array<Plugin> = configs.map(config => new WebpackNotifierPlugin(config));
|