New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

svrx-plugin-webpack

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svrx-plugin-webpack

The svrx plugin for webpack

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-71.43%
Maintainers
2
Weekly downloads
 
Created
Source

svrx-plugin-webpack

svrx npm

svrx plugin for webpack

Usage

Please make sure that you have installed svrx already.

Via CLI

svrx -p "webpack"

Via API

const svrx = require('@svrx/svrx');

svrx({ plugins: ['webpack'] }).start();

with options


svrx({
    plugins: [{
        name: 'webpack',
        options: {
            hot: false
        }
    }]
}).start();

Options

config [String|Object]:

webpack config file or object, default is $root/webpack.config.js ($root means options.root)

hot [Boolean]:

Enable webpack Hot Module Replacement feature, default is true

client [Object]:

options can be passed to the client by adding querystring parameters to the path in the webpack config

see webpack-hot-middleware#client for detail

for example, options {timeout: 3000} will been encode as webpack-hot-middleware/client?timeout=3000

path [String]:

The path which the middleware will serve the event stream on, default is /__webpack_hmr

Example

License

MIT

Keywords

FAQs

Package last updated on 15 Oct 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc