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

webpack-spawn-plugin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-spawn-plugin

A webpack plugin that runs child_process.spawn within compilation

latest
Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
1.6K
29.45%
Maintainers
1
Weekly downloads
 
Created
Source

webpack-spawn-plugin

Generated with nod NPM version Build Status Coverage Status

A webpack plugin that runs child_process.spawn within compilation.

Install

$ npm install --save-dev webpack-spawn-plugin

Usage

import SpawnPlugin from 'webpack-spawn-plugin'

const config = {
  ...
  plugins: [
    new SpawnPlugin('node', ['.'], options)
  ]
}

Options

when (default: "done")

The Webpack compiler hook during which the process will be spawned.

stdio (default: "inherit")

The output stream to which stdout and stderr will be sent.

persistent (default: false)

Indicates whether the spawned process should be replaced every time the hook is called.

Note: You can pass more options to process.spawn in the options objects.

License

MIT © Diego Haz

Keywords

webpack-spawn-plugin

FAQs

Package last updated on 13 Jul 2018

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