How to use webpack-build-notifier - 1 common examples

To help you get started, we’ve selected a few webpack-build-notifier examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github WorldBrain / Memex / build / plugins.js View on Github external
new SentryPlugin({
                release: process.env.npm_package_version,
                include: output.path,
                dryRun: !shouldPackage,
            }),
        )
    }

    // CI build doesn't need to use linting plugins
    if (isCI) {
        return [...plugins, initTsPlugin(false)]
    }

    if (notifsEnabled) {
        plugins.push(
            new BuildNotifPlugin({
                title: 'Memex Build',
            }),
        )
    }

    if (shouldPackage) {
        plugins.push(
            new ZipPlugin({
                path: packagePath,
                filename: extPackageName,
                exclude: [/\.map/],
            }),
            new PostCompilePlugin(() =>
                exec('git archive -o dist/source-code.zip master'),
            ),
        )

webpack-build-notifier

A Webpack plugin that generates OS notifications for build steps using node-notifier.

MIT
Latest version published 2 months ago

Package Health Score

78 / 100
Full package analysis

Popular webpack-build-notifier functions