Sourcemaps on prod build
This commit is contained in:
+1
-7
@@ -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: /_.+/,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user