From 60dda180364a6b812c04c43ff75d61c8c535f59e Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 29 Oct 2026 16:15:46 -0700 Subject: [PATCH] devops: disable sourcemaps We don't ship them to NPM anyway. --- .npmignore | 2 +- build.mts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.npmignore b/.npmignore index e4b29c3..c1b452d 100644 --- a/.npmignore +++ b/.npmignore @@ -2,7 +2,7 @@ # See https://docs.npmjs.com/misc/developers **/* -# Include sources from lib, but not map files. +# Include sources from lib. !lib/**/*.js # Include generated types and entrypoint. !types/src/* diff --git a/build.mts b/build.mts index b009ce4..d651a95 100755 --- a/build.mts +++ b/build.mts @@ -27,7 +27,7 @@ const { errors } = await esbuild.build({ format: 'esm', platform: 'node', target: ['node20'], - sourcemap: true, + sourcemap: false, bundle: true, // Bundle, but keep un-bundled all public dependencies. external: Object.keys({