Sourcemaps on prod build

This commit is contained in:
Daniel Imms
2024-07-05 11:51:47 -07:00
parent 057abba08b
commit 93bf18c5b0
+1 -7
View File
@@ -21,12 +21,12 @@ const config = {
const commonOptions = { const commonOptions = {
format: 'esm', format: 'esm',
target: 'es2021', target: 'es2021',
sourcemap: true,
logLevel: 'debug', logLevel: 'debug',
}; };
/** @type {esbuild.BuildOptions} */ /** @type {esbuild.BuildOptions} */
const devOptions = { const devOptions = {
sourcemap: true,
minify: false, minify: false,
}; };
@@ -57,12 +57,6 @@ const prodOptions = {
* Licensed under the MIT License. See License.txt in the project root for license information. * Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/` *--------------------------------------------------------------------------------------------*/`
}, },
// footer: {
// js: `return __export__;\n});`
// },
format: 'esm',
// mangleProps: /_.+/,
}; };
/** /**