We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
process.memoryUsage.rss()
process.memoryUsage().rss
1 parent 10e0317 commit 056b48bCopy full SHA for 056b48b
lib/cache.js
@@ -42,7 +42,7 @@ class BuildCache {
42
* @returns {Promise<void>}
43
*/
44
async set(absPath, result, originContent) {
45
- const m = process.memoryUsage.rss();
+ const m = process.memoryUsage().rss;
46
if (m / 1024 / 1024 > 250) {
47
this.log('memory usage > 250M');
48
this.clear();
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "esbuild-css-modules-plugin",
3
- "version": "2.2.10",
+ "version": "2.2.11",
4
"description": "A esbuild plugin to bundle css modules into js(x)/ts(x).",
5
"main": "index.js",
6
"keywords": [
0 commit comments