From ae21e8245cb1bdc95a848891a51157db5b64bb90 Mon Sep 17 00:00:00 2001 From: mscno Date: Mon, 15 Apr 2024 21:47:39 +0200 Subject: [PATCH] Add sourcemaps to dist (#1480) --- bundle.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle.mjs b/bundle.mjs index 9ea992f6..7269f216 100644 --- a/bundle.mjs +++ b/bundle.mjs @@ -23,7 +23,7 @@ const buildOptions = { '.svg': 'dataurl' }, minify: true, outfile: './dist/leaflet-geoman.js', - sourcemap: process.env.DEV ? true : false, + sourcemap: true, } const ctx = await esbuild.context({ ...buildOptions, plugins });