commit 2ef40efe53f064520db29f07a20302a5b9ebf276
parent f788955d40896fe973501165e03dcb2464c71269
Author: Sebastian <sebasjm@gmail.com>
Date: Tue, 4 Apr 2023 09:08:16 -0300
revert minified
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git 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",