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

mrbuilder-plugin-webpack-dev-server

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mrbuilder-plugin-webpack-dev-server

webpack dev server for mrbuilder

latest
npmnpm
Version
3.3.1
Version published
Maintainers
2
Created
Source

This plugin provides webpack-dev-server support for mbuilder projects. This runs a convienent server for development.

You can pass in all the normal webpack devServer configuration. In addition it has a url rewrite functionality.

{
  "rewrite":{
    //rewrites
    "/public\/js\/(stuff)\.([a-z0-9A-Z])\.(js|css)/":"/whatever/{0}.{2}"
    //matches and sends back an empty string
    "/send_empty":true
  }
}

Options

All other options are passed to webpack dev server.

PropertyTypeDefaultDescription
historyApiFallbackbooltrueUse history fallback
portnumber8082Port to listen to
contentBasestring./publicDirectory with assets
entryobjectpublic/index.jsfalls back to src/index.js
rewriteobjectRewrite urls
useBuildCacheboolfalseEnables build caching that can improve build performance

FAQs

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