aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backend-ui
diff options
context:
space:
mode:
Diffstat (limited to 'packages/merchant-backend-ui')
-rwxr-xr-xpackages/merchant-backend-ui/build.mjs10
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/merchant-backend-ui/build.mjs b/packages/merchant-backend-ui/build.mjs
index 5ca199e2f..fd2a52b9e 100755
--- a/packages/merchant-backend-ui/build.mjs
+++ b/packages/merchant-backend-ui/build.mjs
@@ -119,7 +119,15 @@ export const buildConfig = {
entryPoints: [...entryPoints],
bundle: true,
outdir: "dist/pages",
- minify: true,
+ /*
+ * Doing a minified version will replace templatestring to common strings
+ * This app is building mustache template with placeholders that will be replaced
+ * with string in runtime by the merchant-backend
+ *
+ * To the date, merchant backend is replacing with multiline string so
+ * doing minified version will brake at runtime
+ * */
+ minify: false,
loader: {
".svg": "file",
".png": "dataurl",