revert minified

This commit is contained in:
Sebastian 2023-04-04 09:08:16 -03:00
parent f788955d40
commit 2ef40efe53
No known key found for this signature in database
GPG Key ID: 173909D1A5F66069

View File

@ -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",