Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
fork-ts-checker-webpack-plugin-limiter
Advanced tools
Limit the active forks to prevent EMFILE error when working with large number of entries.
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.
In your webpack.config.js
, add this plugin along with fork-ts-checker-webpack-plugin
.
The only option is concurrency
which limits the active forks allowed in the plugin, defaults to the number of CPUs in
your workstation.
const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");
const ForkTsCheckerWebpackPluginLimiter = require("fork-ts-checker-webpack-plugin-limiter");
module.exports = {
plugins: [
new ForkTsCheckerWebpackPlugin(),
new ForkTsCheckerWebpackPluginLimiter({ concurrency: 5 }),
],
...
use: {
loader: "ts-loader",
options: {
transpileOnly: true // for the plugin
},
},
...
};
FAQs
Limit the active forks to prevent EMFILE error when working with large number of entries.
The npm package fork-ts-checker-webpack-plugin-limiter receives a total of 156 weekly downloads. As such, fork-ts-checker-webpack-plugin-limiter popularity was classified as not popular.
We found that fork-ts-checker-webpack-plugin-limiter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.