Skip to content

Commit

Permalink
Mark the timers module used in fake-timers as external (thus not incl…
Browse files Browse the repository at this point in the history
…uded)
  • Loading branch information
fatso83 committed Sep 12, 2024
1 parent ecc8968 commit 1422ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}'",
Expand Down

0 comments on commit 1422ca7

Please sign in to comment.