@nuxtjs/webpackmonitor

0.1.0 • Public • Published

Webpack Monitor Module

npm (scoped with tag) npm CircleCI Codecov Dependencies js-standard-style

Monitor Nuxt webpack optimization metrics through the development process using webpackmonitor

📖 Release Notes

Setup

  • Add @nuxtjs/webpackmonitor dependency using yarn or npm to your project

  • Add @nuxtjs/webpackmonitor to modules section of nuxt.config.js

{
  modules: [
    '@nuxtjs/webpackmonitor',
 ],
}
  • Optionally add .monitor to .gitignore file if you don't want to track reports with VCS.

Usage

This module automatically captures stats from each Production build into .monitor/stats.json file if there was any diff.

You can use npx nuxt build --webpackmonitor or yarn nuxt build --webpackmonitor to launch monitor dashboard in your browser after build.

Options

To customize defaults you can add webpackMonitor key to nuxt.config.js. See here for possible options.

License

MIT License

Copyright (c) Nuxt.js Community - Pooya Parsa pooya@pi0.ir

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    101
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    101
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i @nuxtjs/webpackmonitor

Weekly Downloads

101

Version

0.1.0

License

MIT

Last publish

Collaborators

  • antfu
  • danielroe
  • clarkdo
  • pi0
  • atinux
  • alexchopin