Displays amount of RAM used after the webpack compilation
In case of npm
npm i -D @decodeapps/webpack-memory-plugin
In case of yarn:
yarn add -D @decodeapps/webpack-memory-plugin
Add following to the webpack.config.js
:
const WebpackMemoryPlugin = require('@decodeapps/webpack-memory-plugin');
// other plugins
module.exports = {
// other statements
plugins: [
new WebpackMemoryPlugin()
]
}