From: Jérôme Benoit Date: Sun, 23 Jul 2023 17:36:43 +0000 (+0200) Subject: build: only register source map if the build includes it X-Git-Tag: v2.6.21~32 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=93dd056a09f69175587201245069b0feb9703ea4;p=poolifier.git build: only register source map if the build includes it Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index 23290e44..5b108106 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "build:prod": "rollup --config", "benchmark": "pnpm build && node -r source-map-support/register benchmarks/internal/bench.mjs", "benchmark:debug": "pnpm build && node -r source-map-support/register --inspect benchmarks/internal/bench.mjs", - "benchmark:prod": "pnpm build:prod && node -r source-map-support/register benchmarks/internal/bench.mjs", + "benchmark:prod": "pnpm build:prod && benchmarks/internal/bench.mjs", "test": "pnpm build && c8 mocha 'tests/**/*.test.js'", "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.js'", "coverage": "c8 report --reporter=lcov",