mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Sourcemaps on prod build
This commit is contained in:
+1
-7
@@ -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: /_.+/,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user