Saves
stats
object as is
npm install stats-writer-webpack-plugin --save-dev
or
yarn add stats-writer-webpack-plugin --dev
./webpack.config.js
import StatsWriterWebpackPlugin from 'stats-writer-webpack-plugin';
export default {
plugins: [
new StatsWriterWebpackPlugin()
]
};