From 93bf18c5b0d108f9884cfcf35ec85f4e6fd64886 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri, 5 Jul 2024 11:51:47 -0700 Subject: [PATCH] Sourcemaps on prod build --- bin/esbuild.mjs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bin/esbuild.mjs b/bin/esbuild.mjs index 948c11b9..6baf3d30 100644 --- a/bin/esbuild.mjs +++ b/bin/esbuild.mjs @@ -21,12 +21,12 @@ const config = { const commonOptions = { format: 'esm', target: 'es2021', + sourcemap: true, logLevel: 'debug', }; /** @type {esbuild.BuildOptions} */ const devOptions = { - sourcemap: true, minify: false, }; @@ -57,12 +57,6 @@ const prodOptions = { * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/` }, - // footer: { - // js: `return __export__;\n});` - // }, - - format: 'esm', - // mangleProps: /_.+/, }; /**