speed-measure-webpack-plugin
Advanced tools
Comparing version 1.2.5 to 1.3.0
@@ -51,2 +51,10 @@ const path = require("path"); | ||
if (config.optimization && config.optimization.minimizer) { | ||
config.optimization.minimizer = config.optimization.minimizer.map( | ||
plugin => { | ||
return new WrappedPlugin(plugin, plugin.constructor.name, this); | ||
} | ||
); | ||
} | ||
if (config.module && this.options.granularLoaderData) { | ||
@@ -53,0 +61,0 @@ config.module = prependLoader(config.module); |
{ | ||
"name": "speed-measure-webpack-plugin", | ||
"version": "1.2.5", | ||
"version": "1.3.0", | ||
"description": "Measure + analyse the speed of your webpack loaders and plugins", | ||
@@ -20,2 +20,13 @@ "main": "index.js", | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{js,json,css,md}": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"license": "MIT", | ||
@@ -34,4 +45,6 @@ "bugs": { | ||
"alex": "^7.0.0", | ||
"husky": "^1.3.1", | ||
"jest": "^22.4.2", | ||
"lerna": "^2.9.0", | ||
"lint-staged": "^8.1.0", | ||
"prettier": "^1.15.3", | ||
@@ -38,0 +51,0 @@ "write-good": "^0.11.3" |
214280
870
7