Skip to content

Commit

Permalink
Merge pull request stephencookdev#71 from stephencookdev/feature/pret…
Browse files Browse the repository at this point in the history
…tier

Prettier
  • Loading branch information
stephencookdev committed Jan 19, 2019
2 parents 70edb12 + c3299ed commit cffa93f
Show file tree
Hide file tree
Showing 3 changed files with 10,227 additions and 9,038 deletions.
8 changes: 5 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ module.exports = class SpeedMeasurePlugin {
});

if (config.optimization && config.optimization.minimizer) {
config.optimization.minimizer = config.optimization.minimizer.map(plugin => {
return new WrappedPlugin(plugin, plugin.constructor.name, this);
});
config.optimization.minimizer = config.optimization.minimizer.map(
plugin => {
return new WrappedPlugin(plugin, plugin.constructor.name, this);
}
);
}

if (config.module && this.options.granularLoaderData) {
Expand Down
Loading

0 comments on commit cffa93f

Please sign in to comment.