From: Chris Duncan Date: Fri, 25 Oct 2024 23:11:10 +0000 (-0700) Subject: Ship source map for debugging. X-Git-Tag: v0.0.13~1 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=73bce7145a6d893bf1c3aedc7d10e8e6ec6e320f;p=libnemo.git Ship source map for debugging. --- diff --git a/package.json b/package.json index 19e0422..0ef5d11 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "url": "git+https://zoso.dev/libnemo.git" }, "scripts": { - "build": "rm -rf dist && tsc && esbuild dist/main.js --outfile=dist/main.min.js --target=es2022 --format=esm --platform=browser --bundle --minify", + "build": "rm -rf dist && tsc && esbuild dist/main.js --outfile=dist/main.min.js --target=es2022 --format=esm --platform=browser --bundle --minify --sourcemap", "test": "npm run build && node --test --env-file .env", "test:coverage": "npm run test -- --experimental-test-coverage", "test:coverage:report": "npm run test:coverage -- --test-reporter=lcov --test-reporter-destination=coverage.info && genhtml coverage.info --output-directory test/coverage && rm coverage.info && xdg-open test/coverage/index.html"