diff options
author | Sebastian <sebasjm@gmail.com> | 2023-04-04 09:08:16 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-04-04 09:08:16 -0300 |
commit | 2ef40efe53f064520db29f07a20302a5b9ebf276 (patch) | |
tree | 0310313afd0bf93d5e521f8a73eadfb002b2ee3b /packages/merchant-backend-ui | |
parent | f788955d40896fe973501165e03dcb2464c71269 (diff) |
revert minified
Diffstat (limited to 'packages/merchant-backend-ui')
-rwxr-xr-x | packages/merchant-backend-ui/build.mjs | 10 |
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", |