Skip to content

Instantly share code, notes, and snippets.

@edwingustafson
Created May 23, 2019 15:20
Show Gist options
  • Save edwingustafson/ee786fe26c6a7fae394321a892698f64 to your computer and use it in GitHub Desktop.
Save edwingustafson/ee786fe26c6a7fae394321a892698f64 to your computer and use it in GitHub Desktop.
Configuration override to raise ForkTsCheckerWebpackPlugin's memoryLimit
const path = require('path');
module.exports = function override(config, env) {
config.plugins.find(plugin => plugin.constructor.name === 'ForkTsCheckerWebpackPlugin').memoryLimit = 4096;
return config;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment