{"library":"speed-measure-webpack-v5-plugin","title":"Speed Measure Webpack Plugin (v5 fork)","type":"library","description":"A Webpack plugin that measures the execution time of loaders and plugins during builds, helping developers identify performance bottlenecks. Current stable version is 1.5.2, compatible with Webpack versions 1 through 5. This is a community fork of stephencookdev/speed-measure-webpack-plugin, specifically updated for Webpack v5. The primary differentiator is its ability to exclude certain plugins from measurement to avoid build failures (e.g., with ReactRefreshPlugin or MiniCssExtractPlugin). It supports multiple output formats (human, JSON, custom) and can write results to a file. Release cadence is low; last update was around 2021.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install speed-measure-webpack-v5-plugin"],"cli":null},"imports":["const SpeedMeasurePlugin = require('speed-measure-webpack-v5-plugin');","import SpeedMeasurePlugin from 'speed-measure-webpack-v5-plugin';"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/rising-entropy/speed-measure-webpack-v5-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/speed-measure-webpack-v5-plugin","openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"const SpeedMeasurePlugin = require('speed-measure-webpack-v5-plugin');\nconst smp = new SpeedMeasurePlugin();\n\nconst webpackConfig = smp.wrap({\n  entry: './src/index.js',\n  output: {\n    path: __dirname + '/dist',\n    filename: 'bundle.js'\n  },\n  plugins: [\n    // your plugins\n  ],\n  module: {\n    rules: [\n      {\n        test: /\\.js$/,\n        exclude: /node_modules/,\n        use: 'babel-loader'\n      }\n    ]\n  }\n});\n\nmodule.exports = webpackConfig;","lang":"javascript","description":"Demonstrates basic usage: wrap your webpack config with smp.wrap() to measure build times.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}