New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

webpack-event-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-event-plugin

Webpack plugin to run post event hook methods

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
842
101.44%
Maintainers
1
Weekly downloads
 
Created
Source

webpack-event-plugin

Inspired by on-build-webpack but allows for adding a callback after user specified webpack event hooks.

NPM
npm

Installation

npm install --save-dev webpack-event-plugin

Usage

const WebpackEventPlugin = require('webpack-event-plugin');

// ...  
plugins: [
  new WebpackEventPlugin([
    {
      hook: 'afterEmit',
      callback: (compilation) => {
        console.log('Files emitted!');
      }
    }
  ])
]
// ...

Available event hooks

https://webpack.js.org/api/compiler-hooks/

Keywords

webpack

FAQs

Package last updated on 22 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts