From 1422ca72ff541f53ea01124bdb4c2bba81a5fde3 Mon Sep 17 00:00:00 2001 From: Carl-Erik Kopseng Date: Fri, 13 Sep 2024 00:50:08 +0200 Subject: [PATCH] Mark the timers module used in fake-timers as external (thus not included) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dae6338..6b2f8cd 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "main": "lib/index.js", "module": "nise.js", "scripts": { - "bundle": "browserify --no-detect-globals -s nise -o nise.js lib/index.js", + "bundle": "browserify -x timers -x timers/promises --no-detect-globals -s nise -o nise.js lib/index.js", "lint": "eslint --max-warnings 35 .", "prettier:check": "prettier --check '**/*.{js,css,md}'", "prettier:write": "prettier --write '**/*.{js,css,md}'",