Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@freyr/webpack-reporter

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

@freyr/webpack-reporter

Cleaner webpack reporter with a little more personality

  • 0.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Freyr Webpack Reporter

Simplifies webpack logs, and adds a little personality

Usage

Note, for best results set stats: 'errors-only' in the root of your webpack config. If you're using webpack-dev-server, you should also set stats: 'errors-only', inside of devServer options.

const Reporter = require('@freyr/webpack-reporter')

plugins: [
  new Reporter({
    devserver: {
      env: ENV,
      host: IP_ADDRESS,
      port: port
    },
    gifs: CONFIG.gifs
  })
]

NOTE: All options are...optional.

OPTIONS
gifs

Enable gifs to spice up the terminal output (require iterm3+)

Default: false

devserver

If you're running webpack dev server, or a custom server, you can pass the details here to let the reporter know about it

Default: false

If you pass true if will fallback to defaults, but you can override any of them:

Options: false

  • env
    • Default: process.env.NODE_ENV or 'development'
  • host
    • Default: Current Node IP address.
  • port
    • Default: process.env.PORT or 3000

FAQs

Package last updated on 15 Nov 2017

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