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