From 30ad499b29676fce8d86f192467741a3c9e7541c Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 6 Nov 2024 21:44:25 +0200 Subject: [PATCH] package.json: Set "type": "module" Fixes the following warning: [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///.../node_modules/just-performance/dist/esm/node.js is not specified and it doesn't parse as CommonJS. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 179e9de..5861009 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "4.4.0", "description": "Isomorphic ponyfill wrapping native browser performance and node.js perf_hooks performance", "license": "MIT", + "type": "module", "main": "./dist/cjs/node.js", "module": "./dist/esm/node.js", "browser": "./dist/esm/browser.js",