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 });