Fork Ts Checker Webpack Plugin Limiter
Limit the active forks to prevent EMFILE error when working with large number of entries.
This plugin is inspired by TypeStrong/fork-ts-checker-webpack-plugin#424 and depends on alpha features at the moment of authoring, please use at your own risk.
webpack.config.js, add this plugin along with
The only option is
concurrency which limits the active forks allowed in the plugin, defaults to the number of CPUs in
const ForkTsCheckerWebpackPlugin = ;const ForkTsCheckerWebpackPluginLimiter = ;moduleexports =plugins:concurrency: 5...use:loader: "ts-loader"options:transpileOnly: true // for the plugin...;