1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-26 10:05:10 +00:00

format with prettier

This commit is contained in:
zumbiepig
2024-09-07 08:25:55 -07:00
parent 9c68039064
commit 42f97d6f35
42 changed files with 912 additions and 512 deletions

View File

@@ -70,7 +70,7 @@ if (!isDev) {
minifyCSS: true,
minifyJS: true,
continueOnParseError: true,
})
}),
);
});
@@ -84,7 +84,7 @@ if (!isDev) {
//optionsPreset: 'medium-obfuscation',
target: 'browser',
})
.getObfuscatedCode()
.getObfuscatedCode(),
);
});
}
@@ -104,8 +104,8 @@ writeFileSync(
JSON.stringify(
getFiles(publicDir).map((asset) => {
return asset.replace(new RegExp(`^${publicDir}`), '').replace(/\/index\.html$/, '/');
})
)
}),
),
);
console.log(chalk.green('Build complete!\n'));