Skip to content

Commit

Permalink
Add sourcemaps to dist (#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
mscno committed Apr 15, 2024
1 parent b491854 commit ae21e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit ae21e82

Please sign in to comment.