0.0.1 • Published 1 year ago

webpack-stats-prettify-plugin v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

WebpackStatsPrettifyPlugin

A plugin to beautify webpack stats output

Introduction

Webpack 5 Default Output:

npm.io

Use WebpackStatsPrettifyPlugin:

npm.io

Getting Started

To begin, you'll need to install copy-webpack-plugin:

npm install webpack-stats-prettify-plugin --save-dev

# or use yarn
yarn add -D webpack-stats-prettify-plugin

# or use pnpm
pnpm add -D webpack-stats-prettify-plugin

Then add the plugin to your webpack config. For example:

webpack.config.js

const WebpackStatsPrettifyPlugin = require("webpack-stats-prettify-plugin");

module.exports = {
  plugins: [new WebpackStatsPrettifyPlugin()],
  stats: "errors-warnings",
  performance: {
    maxEntrypointSize: 1500000,
    maxAssetSize: 500000,
    hints: "warning",
  },
};

License

MIT

0.0.1

1 year ago