aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backend-ui
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-03-06 11:07:42 -0300
committerSebastian <sebasjm@gmail.com>2024-03-06 11:07:42 -0300
commite89d2098041d265131915c4e006a51478ff664bb (patch)
tree45c4433147eb989efce148a8d9c00b541872cbe3 /packages/merchant-backend-ui
parent541886750eb1bc32b9aa0323868dd24776baf0eb (diff)
downloadwallet-core-e89d2098041d265131915c4e006a51478ff664bb.tar.xz
fix #8564
Diffstat (limited to 'packages/merchant-backend-ui')
-rwxr-xr-xpackages/merchant-backend-ui/build.mjs4
-rw-r--r--packages/merchant-backend-ui/tsconfig.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/merchant-backend-ui/build.mjs b/packages/merchant-backend-ui/build.mjs
index bb1dd3ebf..e72113dc5 100755
--- a/packages/merchant-backend-ui/build.mjs
+++ b/packages/merchant-backend-ui/build.mjs
@@ -135,7 +135,7 @@ export const buildConfig = {
'.woff2': 'file',
'.eot': 'file',
},
- target: ["es6"],
+ target: ["es2020"],
format: "iife",
platform: "browser",
sourcemap: false,
@@ -175,7 +175,7 @@ export const testingConfig = {
'.woff2': 'file',
'.eot': 'file',
},
- target: ["es6"],
+ target: ["es2020"],
format: "iife",
platform: "node",
sourcemap: true,
diff --git a/packages/merchant-backend-ui/tsconfig.json b/packages/merchant-backend-ui/tsconfig.json
index 7a4d70a17..d9cd57c4e 100644
--- a/packages/merchant-backend-ui/tsconfig.json
+++ b/packages/merchant-backend-ui/tsconfig.json
@@ -1,7 +1,7 @@
{
"compilerOptions": {
/* Basic Options */
- "target": "ES6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
+ "target": "ES2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
"module": "ESNext", /* Specify module code generation: 'none', commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "lib": [], /* Specify library files to be included in the compilation: */
"allowJs": true, /* Allow javascript files to be compiled. */